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]> on behalf of olympacs 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Thursday, September 14, 2017 at 22:21
To: Swagger <[email protected]>
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].
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