Re: Schema error

2017-09-15 Thread Olympacs
I have just edited the entire code referring to the docs. I am still getting the errors. ErrorsHide Schema error should NOT have additional properties additionalProperty: get, datasets/{opec}, -in, database_code, type, required, description, responses:1, path, datasets/{opec}/{orb} Jump to

Re: Swagger Integration with Vertx

2017-09-15 Thread kamran khan
Hi Where you able to integrate swagger with vertx? On Saturday, February 18, 2017 at 8:55:24 AM UTC-5, Deepa Rangasamy wrote: > > Hi, > > I have my micro services built via vert.x. There is no swagger-core > integration which will generate yaml or json files based on the annotation. > Are th

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Ron Ratovsky
Great, we’re making progress. “Swagger” is the name of a set of open source project around the OpenAPI specification. If you want to compare it to the SOAP days, the OpenAPI is to REST what WSDL is to SOAP. The screenshot you’re sharing is from swagger-ui, one of our tools. That takes a

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Vigfus A
It might be my terminology that is off as I haven't used Swagger before, but there's an icon in the top left that looks like this {...} and links to swagger.wordnik.com. It might be a third party product that allows you to test your APIs and get simple responses. I was hoping I could get a fil

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Ron Ratovsky
Before diving into it more, can you explain: There are around 10 different APIs that I can reach in Swagger What is Swagger in that sentence? From: on behalf of Vigfus A Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Friday, September 15, 2017 at 19:16 To: Swagger

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Vigfus A
There are around 10 different APIs that I can reach in Swagger, but I can't see more than that the Response Content Type is "application/json; charset=UTF-8" together with Model/Model Schema. Last time I used APIs some 10 years ago we had XML and XSD, but I can see some resemblance between XSD

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Ron Ratovsky
I assume you have an existing API. Which language/library do you use to expose the API? How big is your API? From: on behalf of Vigfus A Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Friday, September 15, 2017 at 18:43 To: Swagger Subject: Re: How to create a Swagger

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Vigfus A
Sorry if I was unclear. I want to know how to generate the API defintion file in Swagger :) Den fredag 15 september 2017 kl. 17:27:03 UTC+2 skrev Ron: > > Are you asking how to use SoapUI Pro or how to generate an API definition > for your API? > > > > > > > > *From: *> on behalf of > Vig

Re: How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Ron Ratovsky
Are you asking how to use SoapUI Pro or how to generate an API definition for your API? From: on behalf of Vigfus A Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Friday, September 15, 2017 at 18:16 To: Swagger Subject: How to create a Swagger *.yaml or *.json definition

How to create a Swagger *.yaml or *.json definition file and project settings?

2017-09-15 Thread Vigfus A
Hi, I'm using soapUI Pro and want to import a Swagger definition file as explained in *https://support.smartbear.com/readyapi/docs/projects/create/swagger.html* Can someone tell me how someone who has never used Swagger

How to whitelabel URL and platform as per my company

2017-09-15 Thread chetan . agarwal
We have created API on swagger but could not find any option to paste my company logo instead of Swagger. Also we need to whitelabel URL as well. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emai

Re: Swagger 2.0 TypeError: NetworkError when attempting to fetch resource.

2017-09-15 Thread Ron Ratovsky
The problem is that it really depends on which web server you use, as the solution would differ from one to the other. As you can imagine, I’m definitely not an expert on all those out there. Which one do you use? From: on behalf of Muhammed Oladipupo Elegbede Reply-To: "swagger-

Re: Swagger 2.0 TypeError: NetworkError when attempting to fetch resource.

2017-09-15 Thread Muhammed Oladipupo Elegbede
Thanks Ron. I have heard this over and over but I am not able to make any sense of how to go about it. I need a step by step approach as I have not done anything like this before. Where do I go to, if I have to write a custom file, where do I put this file etc.. I have read all possible docum

Re: Generate Swagger documentation during Runtime in J2SE legacy application

2017-09-15 Thread Ron Ratovsky
How are your REST endpoint implemented then? From: 'KD' via Swagger Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, September 14, 2017 at 01:55 To: Swagger Subject: Generate Swagger documentation during Runtime in J2SE legacy application Hi Swagger team, I

Re: Schema error

2017-09-15 Thread Ron Ratovsky
Hello, The validation errors pretty much tell you what you’re doing wrong. Please follow the documentation to learn about the structure of an API definition and take it from there. https://swagger.io/docs/specification/2-0/basic-structure/ From: on behalf of olympacs Reply-To

Re: Swagger 2.0 TypeError: NetworkError when attempting to fetch resource.

2017-09-15 Thread Ron Ratovsky
Most likely your server has CORS misconfigured and requires authentication for OPTION calls. Find a way to disable that and it should work. From: on behalf of Muhammed Oladipupo Elegbede Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, September 14, 2017 at 23:28

Re: Swagger.ObjectModel.Builders.RequiredFieldException: 'Paths' is required

2017-09-15 Thread Ron Ratovsky
Guessing this is .net? Would be best to file a ticket with the project you’re using. From: on behalf of Mavusi Kenpachi Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Friday, September 15, 2017 at 12:49 To: Swagger Subject: Swagger.ObjectModel.Builders.RequiredFieldExcept

Re: Any tools for generating a web form out of a model in the swagger spec?

2017-09-15 Thread Ron Ratovsky
https://github.com/swagger-api/swagger-ui ? From: on behalf of Renier Morales Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Friday, September 15, 2017 at 04:37 To: Swagger Subject: Any tools for generating a web form out of a model in the swagger spec? Hi, Anyone

Swagger.ObjectModel.Builders.RequiredFieldException: 'Paths' is required

2017-09-15 Thread Mavusi Kenpachi
Sooo, I'm trying to get swagger to play nice with nancy. Unfortunately, I get the above error no matter what I do. I am using Nancy v1.4 and Swagger v2.1 (the last to support Nancy v1.x). My working Nancy module: public class General : NancyModule{ public General() { Get["/","

Re: Upgrade from Swagger UI 2.x to 3.x

2017-09-15 Thread Ron Ratovsky
You basically need to run the UI locally and try to load the different API definitions to see if they work as expected. 3.x is a complete rewrite of 2.x and as such is a complete breaking change. The upgrade process would really depend on what you’re doing today with swagger-ui and whether y

Swagger.

2017-09-15 Thread Ramya c
Hi, I need to learn the swagger.io. I have REST API's already. But need to convert them to swagger. How can i do it??? -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email