-
Notifications
You must be signed in to change notification settings - Fork 875
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
Implement API for generating OpenAPI schema for definition #784
Conversation
Codecov Report
@@ Coverage Diff @@
## master #784 +/- ##
==========================================
+ Coverage 35.94% 36.19% +0.24%
==========================================
Files 103 105 +2
Lines 8668 8821 +153
==========================================
+ Hits 3116 3193 +77
- Misses 5192 5252 +60
- Partials 360 376 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
ff273cf
to
6721724
Compare
a9bccbb
to
7daa8b9
Compare
a59dcf3
to
96373dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review了一半,感觉我前面的review似乎都没改?
4d71259
to
90194bb
Compare
Fetched cue parameters from workloaddefinition/traitdefinition, generated OpenAPI v3 schema, fixed problems of tainted `description` filed, added filed "title" required by form-render component, added it in API server router To fix kubevela#680
Much better now, ping @hongchaodeng to do one more round review. |
One question, does this still work if we move this to the serverside (no local files)? |
No, currently it heavily depends on the local ~/.vela folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with one minor comment
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
Fetched cue parameters from workloaddefinition/traitdefinition, generated
OpenAPI v3 schema, fixed problems of tainted
description
filed, added filed"title" required by form-render component, added it in API server router
To fix #680