TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Go Echo Server Generator

1 pointsby wing328hkabout 4 years ago
Hi all,<p>We&#x27;ve just added a Go Echo server generator [1] to the openapi-generator project [2].<p>Please give it a try by following 3 simple steps below:<p>1. Download the Java JAR: https:&#x2F;&#x2F;oss.sonatype.org&#x2F;content&#x2F;repositories&#x2F;snapshots&#x2F;org&#x2F;openapitools&#x2F;openapi-generator-cli&#x2F;5.1.1-SNAPSHOT&#x2F;openapi-generator-cli-5.1.1-20210421.135227-116.jar<p>2. Rename the JAR as &quot;openapi-generator-cli.jar&quot;<p>3. Execute the following command to run the generator for the Petstore API: https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;OpenAPITools&#x2F;openapi-generator&#x2F;master&#x2F;modules&#x2F;openapi-generator&#x2F;src&#x2F;test&#x2F;resources&#x2F;3_0&#x2F;petstore.yaml<p>Mac&#x2F;Linux:<p>$ java -jar openapi-generator-cli.jar generate -g go-echo-server -i https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;OpenAPITools&#x2F;openapi-generator&#x2F;master&#x2F;modules&#x2F;openapi-generator&#x2F;src&#x2F;test&#x2F;resources&#x2F;3_0&#x2F;petstore.yaml -o &#x2F;var&#x2F;tmp&#x2F;go-echo-server&#x2F;<p>Windows:<p>$ java -jar openapi-generator-cli.jar generate -g go-echo-server -i https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;OpenAPITools&#x2F;openapi-generator&#x2F;master&#x2F;modules&#x2F;openapi-generator&#x2F;src&#x2F;test&#x2F;resources&#x2F;3_0&#x2F;petstore.yaml -o C:\tmp\go-echo-server<p>If you&#x27;ve any feedback or question, please let us know via https:&#x2F;&#x2F;github.com&#x2F;OpenAPITools&#x2F;openapi-generator&#x2F;issues&#x2F;new.<p>Thank you Farshad Nematdoust [3] for contributing the Go Echo server generator [4].<p>[1] https:&#x2F;&#x2F;github.com&#x2F;labstack&#x2F;echo<p>[2] https:&#x2F;&#x2F;github.com&#x2F;openapitools&#x2F;openapi-generator&#x2F;<p>[3] https:&#x2F;&#x2F;github.com&#x2F;ph4r5h4d<p>[4] https:&#x2F;&#x2F;github.com&#x2F;OpenAPITools&#x2F;openapi-generator&#x2F;pull&#x2F;9224

no comments

no comments