Re: Is there way to show the Example request parameter on the swagger UI?

2016-07-29 Thread Ron Ratovsky
Hi, You can add examples for body parameters using the @Example annotation – keep in mind it was added in 1.5.4 and you are using 1.5.0 so you’d need to upgrade before being able to use it. From: on behalf of smk Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Frida

Is there way to show the Example request parameter on the swagger UI?

2016-07-29 Thread smk
Hi , To add a user to the Db i have user Pojo class and a Post method. If i am not wrong in this case swagger automatically detect and bind the request to the user class and able show the example parameters that are sent in the UI like in the "add.png" Now if i have post method that takes a j

Re: @ApiOperation annotation does not cause swagger ui to render descriptions

2016-07-29 Thread Ron Ratovsky
Something here doesn’t make sense. You’re using swagger-core 1.5.9 and swagger-springmvc – you can’t really use both. Based on your code, it’s a Spring MVC project. Swagger-springmvc is very old and produces an old version of Swagger which may not translate well in swagger-ui. Consider upgrad

Re: Add swagger support to custom framework

2016-07-29 Thread Ron Ratovsky
That’s really not enough details. From: on behalf of Aleksandr Savvopulo Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, 28 July 2016 at 07:12 To: Swagger Subject: Add swagger support to custom framework Hello, I'd like to add a swagger documentation g

Re: Swagger YAML to HTML like in swagger-editor

2016-07-29 Thread Ron Ratovsky
I don’t think there’s a way to do it. Keep in mind that if you’re looking for the try it out functionality, then it’s not really just HTML and in that case you just go with swagger-ui. If you’re looking for something more static to be generated in your build process, then yeah, you can use swag

Re: Swagger for Spring 3 MVC

2016-07-29 Thread Ron Ratovsky
swagger-core doesn’t support Spring MVC. Not sure if Springfox supports Spring 3 – you’d need to check with their documentation. From: on behalf of Vishal Thakur Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, 27 July 2016 at 23:59 To: Swagger Subject: Swagger for

Re: Same routes with different methods/http verbs

2016-07-29 Thread Lucien Combe
Oops ... Sorry. Need more Swagger practice :) Thanks On Friday, 29 July 2016 17:06:49 UTC+1, tony tam wrote: > > Of course > > paths: > /store/products: > get: > > put: > > post: > > > On Jul 29, 2016, at 9:05 AM, Lucien Combe > wrote: > > Hello,

Re: Same routes with different methods/http verbs

2016-07-29 Thread tony tam
Of course paths: /store/products: get: put: post: > On Jul 29, 2016, at 9:05 AM, Lucien Combe wrote: > > Hello, > Please , is it possible to handle services with identical operation routes, > but having different methods ? > > Let's say: > GET

Same routes with different methods/http verbs

2016-07-29 Thread Lucien Combe
Hello, Please , is it possible to handle services with identical operation routes, but having different methods ? Let's say: *GET* /store/products *PUT* /store/products *POST* /store/products This is aligned with RESTful best practices, but it looks like Swagger does not support it. Swagger

Re: NGINX + Swagger problem.

2016-07-29 Thread tony tam
I too saw some weirdness with certain HTTP methods with ELB. Please share what you find… Tony > On Jul 28, 2016, at 6:26 AM, TurboChargedDad wrote: > > While I don't yet consider this solved. I thought I would post what I have > found so far for others to consume. > > In it's current st

Re: serve API

2016-07-29 Thread tony tam
You can use the online swagger-ui from here: http://petstore.swagger.io And the online editor here: http://editor.swagger.io But it sounds like you’re looking for a workflow solution, where you should consider SwaggerHub, Apiary, Restlet, etc. Those provide back-ends for storage, collaborati

Swagger Certification & Training - Get a kick start and fast ramp up to get the most out of Swagger!

2016-07-29 Thread dana . rogozenski
In this new remote training class you will walk away with a solid understanding of the specification and use it to modify, develop, package and govern APIs. Class size is of 5 or more individuals offered 5 days each month for 8 hours a class. Our experienced instructor will lead you through an

serve API

2016-07-29 Thread Corentin Dupont
Hi guys, I have a swagger file hosted on github. How can I share the API? Is there an online instance of swagger UI? Do I need to ask them to open swagger-editor and open the file manually? The best would be just to share a URL... Any solution? Thanks Corentin -- You received this message because