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

Add endpoint examples defined in the spec to API servers #5423

Open
12 tasks
wing328 opened this issue Apr 19, 2017 · 2 comments
Open
12 tasks

Add endpoint examples defined in the spec to API servers #5423

wing328 opened this issue Apr 19, 2017 · 2 comments

Comments

@wing328
Copy link
Contributor

wing328 commented Apr 19, 2017

Description

Similar to what we've done for SpringMVC generator, we want to add support of endpoint examples defined in the spec to the auto-generated server stubs.

Ref: #5411

Endpoint example support in the server generators:

  • C# (NancyFx, ASP.net Core)
  • Elixir
  • Erlang
  • Go
  • Haskell Servant
  • JavaScript/NodeJS
  • Java (MSF4J, Spring:white_check_mark:, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy)
  • PHP (Lumen, Slim, Silex, Zend Expressive)
  • Python Flask
  • Ruby (Sinatra, Rails)
  • Scala Finch
  • Scala Scalatra
Suggest a Fix

#5411 is a good reference. If anyone wants to contribute to this task, please reply to let us know. Thank you.

@thure
Copy link

thure commented Apr 25, 2017

Just a heads-up: I'm looking into doing a Lumen branch based on #5411. Thanks for organizing everything here 😄

@wing328
Copy link
Contributor Author

wing328 commented Apr 25, 2017

Thanks @thure.

FYI. The lambda functions have been renamed to lambdaEscapeDoubleQuote and lambdaRemoveLineBreak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment