Re: Generate swagger definition from service implementation

2017-01-16 Thread tony tam
Well, you can use the tools inside swagger-core (https://github.com/swagger-api/swagger-core ) to turn a POJO into JSON or YAML, but that tool is typically used to convert an entire API into JSON or YAML. To get just a single model converted, take a

Generate swagger definition from service implementation

2017-01-15 Thread sanjeewa malalgoda
Hi All, I'm working on swagger yaml/json generation for new REST API framework. I have java object which represent complete service definition including all annotations. Now i wanted to generate swagger yaml,json from that model. Can anyone point me where i can start with. Do we have swagger w