added
Support for OpenAPI 3.0 common path parameters
August 13th, 2019
Today we've released some updates to our implementation of the OpenAPI 3.0 specification in our API Explorer to support common parameters for a path.
With this support, you will now be able to re-use common path parameters within the path item declaration without having to fully document them as a $ref
.
For example:
"/pets/{petId}": {
"parameters": [
{
"name": "petId",
"in": "path",
"required": true,
"description": "The id of the pet to retrieve",
"schema": {
"type": "string"
}
}
],
"delete": {
"summary": "Delete a specific pet",
"operationId": "deletePetById",
...
},
"get": {
"summary": "Info for a specific pet",
"operationId": "showPetById",
...
}
}