We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I spent hours trying to figure out myself, but I cannot seem to manage to generate multiple documents.
With this:
const generateOpenApiDocumentation = (server: Server) => async (version: string) => { const { name, baseUrl } = AppConfig; await server.register(FastifySwagger.fastifySwagger, { openapi: { info: { title: `${name} API`, version, }, servers: [/* ... */], }, prefix: `/api/${version}`, }); }; // ... for (const version of PUBLISHED_VERSIONS) { await generateOpenApiDocumentation(server)(version); }
I get : FST_ERR_DEC_ALREADY_PRESENT: The decorator "swagger" has already been added.
FST_ERR_DEC_ALREADY_PRESENT: The decorator "swagger" has already been added.
If I use encapsulation as described here: #213
Then both of my generated documents have no routes...
Isn't it possible to have the auto mode with encapsulation ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Issue
I spent hours trying to figure out myself, but I cannot seem to manage to generate multiple documents.
With this:
I get :
FST_ERR_DEC_ALREADY_PRESENT: The decorator "swagger" has already been added.
If I use encapsulation as described here:
#213
Then both of my generated documents have no routes...
Isn't it possible to have the auto mode with encapsulation ?
The text was updated successfully, but these errors were encountered: