Re: Is there any way to generate the swagger document directly from Java source code?

2016-09-19 Thread tony tam
Please look at https://github.com/swagger-api/swagger-core and https://github.com/springfox/springfox for examples of how to do this. There is also a repository here: https://github.com/swagger-api/swagger-samples Full of sample integrations.

Re: Where is my JSON file?

2016-09-19 Thread Tony Tam
What framework do you use? It depends on that specific implementation and configuration. > On Sep 19, 2016, at 9:11 AM, Dave Ward wrote: > > OK, easy question... i can't seem to find my JSON file to use in the > Swagger-to-pdf tool, to generate a PDF. Where are the files outputted to > whe

Where is my JSON file?

2016-09-19 Thread Dave Ward
OK, easy question... i can't seem to find my JSON file to use in the Swagger-to-pdf tool, to generate a PDF. Where are the files outputted to when running and testing locally? here is my local URL: http://localhost:50722/swagger/ui/index.html -- You received this message because you are subsc

[Java] Swagger validation support

2016-09-19 Thread Brent Ryan
What's the plan/status of this issue? https://github.com/swagger-api/swagger-codegen/pull/3280 I'm just looking for an ETA for this to arrive in 2.2.x or 2.3.x branches? Maybe there's something I could help with to get this complete? Thanks, Brent -- You received this message because you are

Is there any way to generate the swagger document directly from Java source code?

2016-09-19 Thread Ajay Kumar
Is there any way to generate the swagger document directly from Java source code? There must be some classes in swagger source code that is responsible for scanning/parsing all the swagger resource (i.e java classes annotated with swagger specific annotation) to generate the swagger document. Co