Swagger Vendor Extensions
This document is a profile for storing Swagger Vendor Extensions within an API Element extension.
The contents of an extension element with this profile will mean the contents of the element is an object containing any vendor extensions found in the underlying Swagger Description document.
For example, if a vendor extension with the key x-sts
with a value true
was
found in an Swagger document, it may be represented using the following
extension
element.
{
"element": "extension",
"meta": {
"links": [
{
"element": "link",
"attributes": {
"relation": "profile",
"href": "https://help.apiary.io/profiles/api-elements/vendor-extensions/"
}
}
]
},
"content": {
"x-sts": true
}
}