janus
                                
                                 janus copied to clipboard
                                
                                    janus copied to clipboard
                            
                            
                            
                        Auto-generate fake REST API from swagger
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.
Great idea. Added this as a feature for next milestone
👍 👍 👍
that would be awesome. Already have my api declared in swagger or upcoming openapi. 👍 👍 👍