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
Code checks for an object
fastify-swagger/static.js
Line 54 in 6799cd4
but it is defined as a string.
fastify-swagger/index.d.ts
Line 71 in 6799cd4
The text was updated successfully, but these errors were encountered:
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
Sorry, something went wrong.
Sure, but i cannot promise any timeframe.
Unit test is already there.
fastify-swagger/test/static.js
Line 100 in 6799cd4
Or what test do you want me to write?
I would like to make the type a bit more strict by using the already included SwaggerSchema.Spec (OpenApiV2). Is there also a type for OpenApiV3 i can use? I just found this project but am unsure to import it. https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types#readme Are there other types that should be supported then?
The easy option would be to just specify the type as 'object' but i think we should do better.
Successfully merging a pull request may close this issue.
Code checks for an object
fastify-swagger/static.js
Line 54 in 6799cd4
but it is defined as a string.
fastify-swagger/index.d.ts
Line 71 in 6799cd4
The text was updated successfully, but these errors were encountered: