Re: display match any fields in swagger documentation

2017-06-08 Thread tony tam
Hi, looks to me like you’re trying to use a splat parameter which isn’t supported by the specification. If you’re actually trying to pass a single value to the API, consider this instead: > value = “v1/{something}" > On Jun 8, 2017, at 5:37 PM, Maneesh Bhunwal

display match any fields in swagger documentation

2017-06-08 Thread Maneesh Bhunwal
Hi All, We have an api which looks like host/v1/ To accomplish this we use @RequestMapping(value = "v1/**", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity getInfo(HttpServletRequest httpServletRequest ) Now from httpServletRequest we get the

Re: Validator error while tring to parse a url that has json

2017-06-08 Thread Ron Ratovsky
Swagger-ui is just a set of static files. You’re using a webjar that wraps them and deploys them into our java app. You’d need to manually add these files to your app, as we don’t offer a webjar for it ourselves. From: on behalf of Sudeep Yadav

Re: Validator error while tring to parse a url that has json

2017-06-08 Thread Sudeep Yadav
okay, Thank you. let me go through that. Also, can you elaborate on what do you mean by "integrate into your app manually" ? On Thursday, June 8, 2017 at 2:19:55 PM UTC-4, Ron wrote: > I’d recommend the latest, which is not something you can get from > springfox directly, as far as I know.

Re: Validator error while tring to parse a url that has json

2017-06-08 Thread Ron Ratovsky
I’d recommend the latest, which is not something you can get from springfox directly, as far as I know. You’d have to integrate it into your app manually. Take a look at https://github.com/swagger-api/swagger-ui. From: on behalf of Sudeep

Re: Validator error while tring to parse a url that has json

2017-06-08 Thread Sudeep Yadav
oh ! I am new to this swagger thing. I have used only this in my POM . Can you recommend which version of swagger ui I should use. On Thursday, June 8, 2017 at 2:13:03 PM UTC-4, Ron wrote: > > That’s springfox, not swagger-ui. They have their own wrapper around > swagger-ui, but I don’t know

Re: Validator error while tring to parse a url that has json

2017-06-08 Thread Sudeep Yadav
Hi Ron, I am using swagger 2. io.springfox *springfox*-swagger2 2.6.1 io.springfox *springfox*-swagger-*ui* 2.5.0 On Thursday, June 8, 2017 at 1:30:44 PM UTC-4, Ron wrote: > Which version of swagger-ui do you use? > > > > > > > > *From:

Re: Need to send custom headers to access swagger.json

2017-06-08 Thread Ron Ratovsky
Take a look at https://github.com/swagger-api/swagger-ui/issues/2793. From: on behalf of Vikram Nisarga Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, 8 June

Re: Validator error while tring to parse a url that has json

2017-06-08 Thread Ron Ratovsky
Which version of swagger-ui do you use? From: on behalf of Sudeep Yadav Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, 8 June 2017 at 7:07 To: Swagger

Re: Description doesn't show in Swagger-UI

2017-06-08 Thread Ron Ratovsky
It’s most likely because of the usage of `allOf`, we have a few bugs around that. From: on behalf of chilmers Reply-To: "swagger-swaggersocket@googlegroups.com" Date:

Re: Need to send custom headers to access swagger.json

2017-06-08 Thread Vikram Nisarga
I'm using the latest version of swagger ui 3.0.13,I'm getting an error when i enter the url of my swagger.json file and click on explore because the required headers are missing On Thursday, 8 June 2017 19:24:25 UTC+5:30, Vikram Nisarga wrote: > > Hi, > I'm trying to integrate swagger-ui to my

Validator error while tring to parse a url that has json

2017-06-08 Thread Sudeep Yadav
Hi All, I am getting the following error while trying to access my URL using Swagger. {"schemaValidationMessages":[{"level":"error","message":"Can't read from file I understand that the URL I am providing isn't public hence I am trying to skip the validator. I have tried putting it as

Description doesn't show in Swagger-UI

2017-06-08 Thread chilmers
Hi does anyone know why the bar property in the following example doesn't show a description in swagger-ui? { "definitions": { "FOO": { "type": "object", "properties": { "bar": { "description": "THIS DESC DOES NOT SHOW UP IN THE UI", "type": "object", "allOf": [ { "$ref":

Documentation for each items

2017-06-08 Thread Veera Prasad
Hi Team, I would like to have examples with explanation document which contains html for each items like request, response, errors, query, headers etc. Could you please expain me If anybody knows about it? Regards, Veera -- You received this message because you are subscribed to the Google