-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49c5671
commit 0f288ae
Showing
13 changed files
with
86 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...api-integration-tests/src/test/resources/service/return/ballerina/content_schema_null.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import ballerina/http; | ||
|
||
public type AcceptedJson record {| | ||
public type JsonAccepted record {| | ||
*http:Accepted; | ||
json body; | ||
map<string|string[]> headers; | ||
|}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
openapi-integration-tests/src/test/resources/service/return/ballerina/post_method.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import ballerina/http; | ||
|
||
public type OkString record {| | ||
public type StringOk record {| | ||
*http:Ok; | ||
string body; | ||
map<string|string[]> headers; | ||
|}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
openapi-integration-tests/src/test/resources/service/return/ballerina/same_response.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import ballerina/http; | ||
import ballerina/http; | ||
|
||
public type AcceptedString record {| | ||
public type StringAccepted record {| | ||
*http:Accepted; | ||
string body; | ||
map<string|string[]> headers; | ||
|}; |
27 changes: 11 additions & 16 deletions
27
...ntegration-tests/src/test/resources/service/return/ballerina/unsupported_payload_type.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
import ballerina/http; | ||
|
||
public type OkJson record {| | ||
*http:Ok; | ||
json body; | ||
map<string|string[]> headers; | ||
public type AnydataJsonXmlBadRequest record {| | ||
*http:BadRequest; | ||
anydata|json|xml body; | ||
|}; | ||
|
||
public type NotFoundAnydataJsonXml record {| | ||
public type AnydataJsonXmlNotFound record {| | ||
*http:NotFound; | ||
anydata|json|xml body; | ||
map<string|string[]> headers; | ||
|}; | ||
|
||
public type InternalServerErrorString record {| | ||
*http:InternalServerError; | ||
string body; | ||
map<string|string[]> headers; | ||
public type JsonOk record {| | ||
*http:Ok; | ||
json body; | ||
|}; | ||
|
||
public type BadRequestAnydataJsonXml record {| | ||
*http:BadRequest; | ||
anydata|json|xml body; | ||
map<string|string[]> headers; | ||
public type StringInternalServerError record {| | ||
*http:InternalServerError; | ||
string body; | ||
|}; | ||
|
||
public type BadRequestAnydata record {| | ||
public type AnydataBadRequest record {| | ||
*http:BadRequest; | ||
anydata body; | ||
map<string|string[]> headers; | ||
|}; |