swagger-api / swagger-converter

OpenAPI/Swagger 2.0 to OpenAPI 3.0 Converter WebService

Home Page:https://converter.swagger.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extra "extensions" property in tag externalDocs

hkosova opened this issue · comments

http://oai.swagger.io/api/convert?url=http://petstore.swagger.io/v2/swagger.json

If a global tag has externalDocs, the converted spec gets an extra property extensions:

"tags": [{
		"name": "pet",
		"description": "Everything about your Pets",
		"externalDocs": {
			"description": "Find out more",
			"url": "http://swagger.io",
			"extensions": {}  <---
		}
	}, {
		"name": "store",
		"description": "Access to Petstore orders"
	}, {
		"name": "user",
		"description": "Operations about user",
		"externalDocs": {
			"description": "Find out more about our store",
			"url": "http://swagger.io",
			"extensions": {}  <---
		}
	}
],
commented

Fixed!