openapi-generator 4.1.0
openapi-generator 4.1.0 Closes #42993. Signed-off-by: Thierry Moisan <thierry.moisan@gmail.com>
This commit is contained in:
parent
eb1a335a6f
commit
a86405f2be
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
class OpenapiGenerator < Formula
|
||||
desc "Generate clients, server & docs from an OpenAPI spec (v2, v3)"
|
||||
homepage "https://openapi-generator.tech/"
|
||||
url "https://search.maven.org/remotecontent?filepath=org/openapitools/openapi-generator-cli/4.0.3/openapi-generator-cli-4.0.3.jar"
|
||||
sha256 "c5b1f9925740026b21929b1b86dff1a47c92d2b32bd56b64552fa028cc6a09f4"
|
||||
url "https://search.maven.org/remotecontent?filepath=org/openapitools/openapi-generator-cli/4.1.0/openapi-generator-cli-4.1.0.jar"
|
||||
sha256 "649accfdd325ef7aff03bd60cec15a39cf2b7f9f51ec1f5e4d29b930e15e715e"
|
||||
|
||||
head do
|
||||
url "https://github.com/OpenAPITools/openapi-generator.git"
|
||||
|
@ -47,6 +47,6 @@ class OpenapiGenerator < Formula
|
|||
200:
|
||||
description: OK
|
||||
EOS
|
||||
system bin/"openapi-generator", "generate", "-i", "minimal.yaml", "-g", "openapi"
|
||||
system bin/"openapi-generator", "generate", "-i", "minimal.yaml", "-g", "openapi", "-o", "./"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue