-
Notifications
You must be signed in to change notification settings - Fork 67
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
airframe-rpc: Generate Open API schema from RPC interfaces #1178
Conversation
xerial
commented
Jul 4, 2020
•
edited
Loading
edited
- Define OpenAPI model classes
- Support UnionType codec for using A or B in OpenAPI model classes.
- Create OpenAPI model class from RPC interfaces
- Create OpenAPI model class from Endpoint interfaces
- Convert JSON to Yaml
- Add sbt-airframe plugin command (airframeHttpOpenAPIXXX)
- Usage note
Codecov Report
@@ Coverage Diff @@
## master #1178 +/- ##
==========================================
+ Coverage 82.60% 82.92% +0.31%
==========================================
Files 279 283 +4
Lines 10707 10941 +234
Branches 698 727 +29
==========================================
+ Hits 8845 9073 +228
- Misses 1862 1868 +6
Continue to review full report at Codecov.
|
@shimamoto @takezoe This becomes a big PR, but the basic implementation for generating Open API schema from airframe-http/rpc endpoints is done. Please have a look. |
@wvlet/airframe-dev I think reviewing this PR is hard, so let me merge this PR first as a beta-feature because this PR should have no production behavior change. |