This merge request create a new route who returns getCapabilities
(/geocodage/getCapabilities
).
getCapabilities
contains the API description, the routes and the properties available for each of them.
OpenAPI documentation is also generated (/api-docs
).
Commmits history
- Add descriptions to the
PARAMS
properties (609b50ad) - Create
computeCapabilities
function and the new route/geocodage/getCapabilities
(8aa51853) - Add example property to
PARAMS
(2414232e) - Add description to indexes
PARAM
(9fb91e8f) - Fix type error: parameters return an array (90116168)
- Remove omit
q
parameter (b1047fc8) - Use destructuring for
nameInQuery
parameter (9bbeab89) - Filter parameters by operations (0f215bc4)
- Fix parameters property for reverse operation in
computeCapabilities
(ef531272) - Add
enum
tocomputeCapabilities
(f470cfab) - Refactor
computeCapabilities
by usinggroupParamsByOperation
(b7b2a67c) - Create
computeOpenApi
and serve it to/api-docs
route (97d68670)