-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Split out and organise openapi code #160
Conversation
Codecov Report
@@ Coverage Diff @@
## master #160 +/- ##
=========================================
- Coverage 4.43% 4.41% -0.02%
=========================================
Files 119 120 +1
Lines 10102 10187 +85
=========================================
+ Hits 448 450 +2
- Misses 9654 9737 +83
Continue to review full report at Codecov.
|
276e704
to
aa35110
Compare
CI is currently broken due to an MSRV bump issue. More context: tokio-rs/tracing#1913 |
2bbc93f
to
7f0bac2
Compare
783870b
to
09e4b29
Compare
09e4b29
to
570a30a
Compare
This is a first attempt into breaking up the openapi code and making it more approachable. The main focus is on top-level visibility, simplifying the APIs used in main.
Usage is as follows:
Metadata
UrlFinder
Metadata::get_files
to getFileGenerators
for each object in the APIFileGenerator::write
for each fileFileGenerator::write
for the generators produced by the first writeI also took the opportunity to:
This will hopefully provide a base to better define the abstractions now that the code is a little tidier.