janus icon indicating copy to clipboard operation
janus copied to clipboard

Auto-generate fake REST API from swagger

Open jeverling opened this issue 9 years ago • 3 comments

I know this would be a huge task and might be better suited as a third-party tool. But I think what would be really cool is if there was a way to auto-generate Janus config from swagger. Many REST APIs use swagger for documentation, and there are a number of tools available to automatically generate client libraries, for example:

  • https://www.npmjs.com/package/swagger-models-to-react-proptypes
  • https://github.com/swagger-api/swagger-codegen

So it should be doable to auto-generate janus config from a swagger documented API. It's just an idea but I think it would be cool.

jeverling avatar Mar 15 '16 19:03 jeverling

Great idea. Added this as a feature for next milestone

jijeshmohan avatar Mar 16 '16 17:03 jijeshmohan

👍 👍 👍

revmischa avatar Oct 01 '16 21:10 revmischa

that would be awesome. Already have my api declared in swagger or upcoming openapi. 👍 👍 👍

picibirdAdmin avatar Apr 27 '17 12:04 picibirdAdmin