Skip to content

Commit

Permalink
Merge pull request #1544 from lnash94/master-1536
Browse files Browse the repository at this point in the history
[1.8.x]Add support for union type request body mapping to Ballerina to OpenAPI spec generation
  • Loading branch information
lnash94 authored Sep 26, 2023
2 parents 22a6f14 + 127fc07 commit e0cb2e9
Show file tree
Hide file tree
Showing 6 changed files with 478 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ public enum DiagnosticMessages {
"for Ballerina type '%s'. ", DiagnosticSeverity.WARNING),

OAS_CONVERTOR_115("OAS_CONVERTOR_115", "Given Ballerina file does not contain any HTTP service.",
DiagnosticSeverity.ERROR);
DiagnosticSeverity.ERROR),
OAS_CONVERTOR_116("OAS_CONVERTOR_116", "Generated OpenAPI definition does not contain `%s` request" +
" body information, as it's not supported by the OpenAPI tool.",
DiagnosticSeverity.WARNING);

private final String code;
private final String description;
Expand Down
Loading

0 comments on commit e0cb2e9

Please sign in to comment.