open-api
open-api copied to clipboard
(feature) path parameters in yaml
Right now, it is not possible to pass a YAML description of path parameters for routes. Like
module.exports = {
// parameters for all operations in this path
parameters: `
- in: path
name: id
required: true
type: integer
`
}
This would be quite handy, to be consistent when also writing the apiDoc in YAML
@nahelbahel please submit a pr to add support for this.