Question - Filter by path & methods
thim81 opened this issue · comments
I was wondering if it would be possible to filter out specific "path" methods using the tags options.
Example
paths:
/pet:
post:
tags:
- pet
summary: Add a new pet to the store
description: ""
operationId: addPet
responses:
"405":
description: Invalid input
security:
- petstore_auth:
- write:pets
- read:pets
requestBody:
$ref: "#/components/requestBodies/Pet"
put:
tags:
- pet
summary: Update an existing pet
description: ""
operationId: updatePet
responses:
"400":
description: Invalid ID supplied
"404":
description: Pet not found
"405":
description: Validation exception
security:
- petstore_auth:
- write:pets
- read:pets
requestBody:
$ref: "#/components/requestBodies/Pet"
I want to filter out the /pet
but on the the PUT
.
The only option that I have right now, is to add a specific flag (like x-visibility
) to the put method .
Or is there an option to specific target a path & method?
if there is not, I'll try to create a PR to support this filtering option.
Filtering by operationId would be a useful additional feature certainly.