Stop using openapi-* dependencies
See original GitHub issueWhy?
openapi-request-coercer
- Ajv
can do it
openapi-default-setter
- Ajv
can do it
openapi-request-validator
- it’s wrapper over Ajv
that can’t correctly resolve $ref. But Ajv
no have troubles with resolving $ref
Issue Analytics
- State:
- Created 4 years ago
- Comments:23 (19 by maintainers)
Top Results From Across the Web
End to End Restful API development using OpenAPI ... - Medium
In this article, we will be looking at how we can work with OpenAPI specification, generate code and use it in the server...
Read more >Make it possible to disable generation of swagger annotations
We are using openapi-generator-maven-plugin to generate Java classes from swagger files. We are not using swagger but Spring rest template + ...
Read more >How to disable swagger 3 configuration in spring boot
I have created swagger 2 using docket object & for swagger 3 just added maven dependency springdoc-openapi-ui . Able to check swagger 2...
Read more >Conditional OpenAPI - FastAPI
Configure any required permissions and roles using dependencies. ... Then you could disable OpenAPI (including the UI docs) by setting the environment ...
Read more >Documenting a Spring REST API Using OpenAPI 3.0 - Baeldung
Using Lightrun, you can drill down into running applications, including 3rd party dependencies, with real-time logs, snapshots, and metrics.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cdimascio @richdouglasevans there is one more minor feature associated with a stricter fit to the described scheme which
may affect on safety
on projects in production. If I understand correctly,openapi-request-validator
was filtering request fields what not described in scheme. Now you need to clearly indicate in schema what you want filtering fields that not described in schema. For this you need to add in the description of each schema the fieldadditionalProperties: false
@richdouglasevans I advise you to add this to the tests.
https://github.com/epoberezkin/ajv#filtering-data
@sheldhur @richdouglasevans v1.3.0-rc.3 is now available. it replaces the old request validator with the new. feel free to try it out and file issues if you run into them