It would be really useful to be able to do something like this:
paths:
$ref: "/operations/pets.yaml" # Multiple paths
$ref: "/operations/stores.yaml" # Multiple paths
$ref: "/operations/users.yaml" # Multiple paths
Where each file includes multiple paths. For example (pets.yaml):
/pets:
post:
# ...
/pets/findByStatus:
get:
# ...
This would make it easier to organize a large API.
Edit:
It could also be an array, like this:
paths:
$ref:
- "/operations/pets.yaml"
- "/operations/stores.yaml"
- "/operations/users.yaml"
It would be really useful to be able to do something like this:
Where each file includes multiple paths. For example (pets.yaml):
This would make it easier to organize a large API.
Edit:
It could also be an array, like this: