[fastify-swagger] is it possible to generate swagger-schema static pages based on route descriptions object { route: schema}?
Open
help wanted
- Dominant language
- No language data
- Stars
- 68
- Forks
- 8
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 2
Description
## 💬 Question here
We use json-rpc protocol so we use one universal route to handle all api requests to db
we use routes description object {route: schema} and use custom ajv instance to validate parameters, pass it to one db function and then send the result to clients
so we don't have real routes and so we can not use fastify-swagger plugin, bun we have all information the plugin is need
is it possible to generate static swagger schema description pages based on the object providing the path and schema?
## Your Environment
- *node version*: v18.6.0
- *fastify version*: 4.4.0
- *os*: any
Contributor guide
Assessment
This issue has not been assessed yet.