Closed dimichgh closed 9 years ago
if I try to add vendor extension to the root of the swagger schema, it would fail saying the extension is not allowed. Example:
{ "swagger": "2.0", "x-property": "custom property", "info": { "version": "1.0.0", "title": "Swagger Petstore", "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", "termsOfService": "http://helloreverb.com/terms/", "contact": { "name": "Wordnik API Team" }, "license": { "name": "MIT" } }, "basePath": "/svc/v1", "host": "petstore.swagger.wordnik.com", "schemes": [ "http" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": {} }
Sorry this wasn't on my radar. Are you using 4.0.0?
Not yet? Is it supported there?
Yes.
if I try to add vendor extension to the root of the swagger schema, it would fail saying the extension is not allowed. Example: