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:10000, path, datasets/{opec}/{orb}
Jump to line 0
Schema error at pathsshould be object
Jump to line 0

On Friday, September 15, 2017 at 6:03:33 AM UTC-4, Ron wrote:
>
> 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: *<[email protected] <javascript:>> on behalf of 
> olympacs <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Thursday, September 14, 2017 at 22:21
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Re: Schema error
>
>  
>
> I am attaching the code
>
> On Thursday, September 14, 2017 at 3:20:54 PM UTC-4, Olympacs wrote: 
>
> I am working on an existing api. Once it loads it shows a set of errors. I 
> googled online but found similar errors when creating api's from scratch 
> when you require path parameters. Please advise. 
> Errors
>
> Hide
>
> 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 'paths'
>
> missingProperty: paths
>
> Jump to line 0
>
> -- 
> 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 to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to