-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Use OasReader library for loading OAS documents with external references #267
Conversation
This commit refactors the `OpenApiDocumentFactory` class to handle HTTP URLs and YAML files. It adds support for reading OpenAPI documents from HTTP URLs and populating missing required fields. It also includes methods to determine if a path is an HTTP URL and to get the content of a URI as a string. This refactor improves the flexibility and robustness of the `OpenApiDocumentFactory` class.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #267 +/- ##
==========================================
- Coverage 98.30% 97.41% -0.89%
==========================================
Files 60 60
Lines 2060 2086 +26
==========================================
+ Hits 2025 2032 +7
- Misses 18 37 +19
Partials 17 17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
The changes here refactors the way OAS documents are loaded if they have external references.