Re: Schema error

2018-03-09 Thread Remi Adebayo
Yes i did, i solved the problem by adding type:string after (required:true) field...let me know if this works for you On Thursday, February 1, 2018 at 11:25:25 PM UTC+1, Remi Adebayo wrote: > > been getting this error > Schema error at paths['/homepage/postreview'].post.parameters[0]

Re: Schema error

2018-03-06 Thread Darshan A.N.
Hi, Did you find how to solve this? I am also facing the same problem. On Friday, February 2, 2018 at 3:55:25 AM UTC+5:30, Remi Adebayo wrote: > > been getting this error > Schema error at paths['/homepage/postreview'].post.parameters[0].inshould be > equal to one of the al

Re: Schema error should NOT have additional properties additionalProperty: @odata.context, @odata.etag

2018-03-06 Thread Darshan A.N.
AM UTC+5:30, Ron wrote: > > Valid JSON doesn’t mean it’s a valid OpenAPI document. > > In order to point you to the issue, we need to see the full definition. > > > > > > > > *From: *<swagger-sw...@googlegroups.com > on behalf of Vinay > Banakar <vin

Schema error

2018-02-01 Thread Remi Adebayo
been getting this error Schema error at paths['/homepage/postreview'].post.parameters[0].inshould be equal to one of the allowed values allowedValues: body Jump to line 71 Schema error at paths['/homepage/postreview'].post.parameters[0]should NOT have additional properties additionalProperty

Re: Schema error

2017-09-18 Thread Ron Ratovsky
rom: <swagger-swaggersocket@googlegroups.com> on behalf of Olympacs <dminesas2...@gmail.com> Reply-To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Date: Saturday, September 16, 2017 at 03:04 To: Swagger <swagger-swaggersocket@googlegro

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

Re: Schema error

2017-09-14 Thread Olympacs
ters. Please advise. > > ErrorsHide > Schema error should NOT have additional properties > additionalProperty: dataset > Jump to line 0 > Schema error should have required property 'info' > missingProperty: info > Jump to line 0 > Schema error should have required property

Schema error

2017-09-14 Thread olympacs
I am working on a quandl api. when imported the api loads and is automatically shows the following errors. Any suggestions. I googled the problem but ones I encountered are from creating the api from scatch requiring a path parameter. ErrorsHide Schema error should NOT have additional

Schema error

2017-08-22 Thread Dorcas Tamatey
Hello, Please I am new to swagger. Kindly help me resolve the error below. Thank you Schema error at parametersshould be a object NB: please the Schema error is at where the text is highlighted red swagger: '2.0' info: description: This is a simple API version: 1.0.0 title: SMS API host

Swagger: Schema Error on PUT

2016-09-22 Thread Jonathan Eustace
I keep getting a failed schema validation error on a successful response using swagger. However, I'm pretty sure my syntax is correct. Any ideas on what is going wrong here? My controller function putAReview(req, res){ fakeDB.addReview(req.body.reviewObject.id,