bow-swift / bow-openapi

🌐 Functional HTTP client generator from an OpenAPI/Swagger specification.
https://openapi.bow-swift.io
Other
51 stars 1 forks source link

Error when installing bow-openapi using homebrew on macOS Big Sur #39

Closed lyzkov closed 3 years ago

lyzkov commented 3 years ago
==> Installing bow-openapi from bow-swift/bow
swagger-codegen: Java 1.8 is required to install this formula.
Install AdoptOpenJDK 8 with Homebrew Cask:
  brew cask install homebrew/cask-versions/adoptopenjdk8
Error: An unsatisfied requirement failed this build.

Homebrew shows this error message even after adoptopenjdk8 successful installation.

miguelangel-dev commented 3 years ago

Ey @lyzkov!

I understand you have tried to install AdoptOpenJDK from Homebrew (following the suggestions) and you have Xcode & CLT at 12.x. In this case, and as it is in beta, I suggest you to try to install bow-openapi manually.

Please, let me know if it works! :)


How to install Bow OpenAPI manually?

Prerequisites

You need to have installed swagger-codegen (bow-openapi is built on top of this tool) - here you can find the steps to do it from homebrew (it seems to be what is failing you) or manually directly from Maven.org.

Install Bow OpenAPI

  1. Download the release 0.2
  2. In the root folder run: make macos
lyzkov commented 3 years ago

Yes, it works. Thank you very much!

miguelangel-dev commented 3 years ago

Once Big Sur is released, we will come back to check everything is working correctly.