Generate API Documents

2018-02-15 Thread Michael Hoffman
Hello, I am new to Swagger and also Gradle. I was wondering how I might generate a YAML file from a simple Java class using Gradle. I have tried several of the plugins for Gradle and have not been successful. Ultimately the simple Java class will be replaced by services that are written in J

Re: Differences between UI Editor and Published Version

2018-02-15 Thread Ron Ratovsky
Not sure what you mean by the ‘published’ version, but the ‘published’ screenshots are from an old version of swagger-ui and you’d need to update it. From: on behalf of Rafael Sérgio Duarte Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, February 15, 2018 at 09:04

Re: New swagger developer, best Java Server framework to use?

2018-02-15 Thread Ron Ratovsky
If you’re writing a server from scratch, I’d recommend taking a look at https://github.com/swagger-api/swagger-inflector. Go through the tutorial, it’s very simple, and you’ll see the simplicity yet power of the tool. From: on behalf of "p...@elementalsoftware.co" Reply-To: "swagger-

Re: Swagger v2: Security requirement interpretation: AND vs OR

2018-02-15 Thread Ron Ratovsky
Yup, it’d be a logical AND. From: on behalf of Willem Salembier Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, February 15, 2018 at 02:00 To: Swagger Subject: Swagger v2: Security requirement interpretation: AND vs OR I'm currently in a discussion with a prod

Differences between UI Editor and Published Version

2018-02-15 Thread Rafael Sérgio Duarte
Hello! I've being facing some issues between the published version and the UI editor version. Looking at the UI tab while editing, I can achive the following structure for my method:

New swagger developer, best Java Server framework to use?

2018-02-15 Thread paul
Hi everyone, I've just found Swagger and it looks great, could be just the thing I need for our API. We have an existing application which I need to create an API for. The only restriction I have is that I must use java because that is what the service to access our data will be written in. Doe

Swagger v2: Security requirement interpretation: AND vs OR

2018-02-15 Thread Willem Salembier
I'm currently in a discussion with a product vendor on the correct interpretation of the security requirement element in Swagger v2. What's the correct interpretation of this security requirement defined globally? "security": [{"petstore_auth": ["write:pets","read:pets"]}] "petstore_auth"