Closed alinex closed 5 years ago
Also the possible $select
parameter is missing in swagger.
How can I define this parameters for a service method?
Parameters can be configured at mulitple levels with version 1.0.0. It it describes in the readme and some examples.
A link to the relevant place in the docs would be handy. The section about "Path support to update nested structures" is obtuse and not easy to understand.
Example how to add a parameter: https://github.com/feathersjs-ecosystem/feathers-swagger/blob/master/example/openapi-v3/definitions.js#L66
Can also be used directly in the service docs: https://github.com/feathersjs-ecosystem/feathers-swagger/blob/master/example/openapi-v3/customMethods.js#L108
And of course you can just define the whole parameters array, without modifying it.
See feathersjs Querying which uses additional parameters for each field but how to get it shown (like pagination) in swagger?
This should be callable through swagger.