Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go echo server generator in OpenAPI Generator #1854

Closed
wing328 opened this issue Apr 21, 2021 · 1 comment
Closed

Go echo server generator in OpenAPI Generator #1854

wing328 opened this issue Apr 21, 2021 · 1 comment

Comments

@wing328
Copy link

wing328 commented Apr 21, 2021

Hi all,

We've just added a Go Echo server generator to the openapi-generator project.

Please give it a try by following 3 simple steps below:

  1. Download the Java JAR: https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/5.1.1-SNAPSHOT/openapi-generator-cli-5.1.1-20210421.135227-116.jar

  2. Rename the JAR as "openapi-generator-cli.jar"

  3. Execute the following command to run the generator for the Petstore API: https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml

Mac/Linux:

$ java -jar openapi-generator-cli.jar generate -g go-echo-server -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -o /var/tmp/go-echo-server/

Windows:

$ java -jar openapi-generator-cli.jar generate -g go-echo-server -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -o C:\tmp\go-echo-server

If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new.

Thank you Farshad Nematdoust for contributing the Go Echo server generator and the awesome team and community behind Go Echo.

William

@aldas
Copy link
Contributor

aldas commented May 8, 2021

Ok, thank you. For further discussion please start thread at https://github.com/labstack/echo/discussions

@aldas aldas closed this as completed May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants