Open mansonliwh opened 4 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 22.54%. Comparing base (
f13f3f3
) to head (815c0b8
). Report is 4 commits behind head on master.:exclamation: There is a different number of reports uploaded between BASE (f13f3f3) and HEAD (815c0b8). Click for more details.
HEAD has 1 upload less than BASE
| Flag | BASE (f13f3f3) | HEAD (815c0b8) | |------|------|------| |core|1|0|
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Why are the changes needed?
Close #3256.
Brief change log
This PR introduces Swagger and OpenAPI Generator. To avoid intrusive development, this design does not use a large number of annotations on the controller. Instead, it predefines the openapi.yaml. The interface specifications defined in openapi.yaml are used to generate the Swagger page, API docs, and an SDK using the Apache HttpClient framework.
In the Maven build, you can use the generate-sdk profile to specify whether to generate the SDK.
How was this patch tested?
Swagger Page:
Auth Setting:
Generated API docs & SDK demo: