bauerji / flask-pydantic

flask extension for integration with the awesome pydantic package
MIT License
352 stars 56 forks source link

Add function to generate openapi spec. #57

Open The-Podsiadly opened 2 years ago

The-Podsiadly commented 2 years ago

Built off of @buildpeak's forked PR #41. Added parse_url method to mimic what werkzeug's did. This was copied from flask-restx's PR #463.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

bauerji commented 2 years ago

@The-Podsiadly Please, check the linter errors in the tests and modify the code accordingly.

Can you please add some tests for the openapi module? I don't like having such a piece of untested code in the code base.