Re: Validation with swagger annotations in java

2017-04-21 Thread tony tam
Hi, you can see a similar question being answered here: https://groups.google.com/forum/#!searchin/swagger-swaggersocket/validate$20payload%7Csort:relevance/swagger-swaggersocket/_aQpeA9j52A/TJE0inDJBQAJ There is a project from the Atlassian folks here:

Validation with swagger annotations in java

2017-04-21 Thread Frizoo
I have a question about swagger and java : I am quiet new with java and I am building a rest api in java with Jersey + spring, I wanted to do some validation on my models (input data) how could I do that ? is there a way to do it with the swagger annotation @ApiModelProperty ? Or Do I need to

java annotations and definition of Maps

2017-04-21 Thread François-Paul Servant
I am struggling with java annotations to return definition of Maps in my Models. I am aware of the additionalProperties stuff. What I want it to have them listed among the "definitions" in the swagger.json output For instance, I am returning data such as: ``` { "en": "Hi there!",

Re: link on editor not exactly working as expected...

2017-04-21 Thread John Fowler
if you would just tell me how to start a new yaml will be enough. it shows me the petstore...how do i clear that and start new...which worked in the previous issue. and no its not cache or network issues I even rebooted my laptop...still not getting anywhere. any advice? thanks! On Friday,

Re: link on editor not exactly working as expected...

2017-04-21 Thread Tony Tam
Sorry man I can't help if you are experiencing network or cache issues. Seems like the rest of the world is able to get to it > On Apr 21, 2017, at 7:29 AM, John Fowler wrote: > > reload? how many times? I just tried 6 still getting the same > result...nada. Your

Re: link on editor not exactly working as expected...

2017-04-21 Thread John Fowler
reload? how many times? I just tried 6 still getting the same result...nada. Your product was good before...not so much now. moving on On Thursday, April 20, 2017 at 5:03:54 PM UTC-4, tony tam wrote: > > Hi, try to reload. The download for the v2.x editor is quite large and > it’s likely

Re: Swagger editor interface has changed...and not for the better

2017-04-21 Thread John Fowler
sorry guys...still a NOGO. we were hoping to document some REST APIs but with this version forget it. The previous version was much better (at least it worked and I could start a new YAML)...not anymore :( I gotta ask...why? why change what was good On Thursday, April 20, 2017 at 5:04:36