-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add OAS mapping for HTTP status code errors #1604
Conversation
6ca8ac4
to
3f51c34
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1604 +/- ##
============================================
+ Coverage 80.77% 80.82% +0.04%
- Complexity 1928 1951 +23
============================================
Files 149 154 +5
Lines 9990 10089 +99
Branches 1635 1646 +11
============================================
+ Hits 8069 8154 +85
- Misses 1351 1361 +10
- Partials 570 574 +4 ☔ View full report in Codecov by Sentry. |
openapi-cli/src/test/resources/ballerina-to-openapi/response/status_code_errors_01.bal
Show resolved
Hide resolved
...pi/src/main/java/io/ballerina/openapi/service/mapper/response/utils/StatusCodeTypeUtils.java
Outdated
Show resolved
Hide resolved
...enapi/src/main/java/io/ballerina/openapi/service/mapper/response/model/HeaderRecordInfo.java
Show resolved
Hide resolved
...cli/src/test/resources/ballerina-to-openapi/expected_gen/response/status_code_errors_01.yaml
Outdated
Show resolved
Hide resolved
...cli/src/test/resources/ballerina-to-openapi/expected_gen/response/status_code_errors_02.yaml
Show resolved
Hide resolved
a16fee7
to
097d045
Compare
Quality Gate passedIssues Measures |
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
Purpose
Fixes:
error
mapping with spec generation for newHTTP error
structure ballerina-library#5135Example
Refer to the above issue for proposal and examples