Skip to content

Commit

Permalink
Merge branch 'bug/multipleAllOf' of https://github.com/richard-walsh-…
Browse files Browse the repository at this point in the history
…sb/swagger-inflector into bug/multipleAllOf
  • Loading branch information
gracekarina committed Feb 25, 2021
2 parents 4549cfc + f2b9fbb commit 6c0c54d
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions src/test/java/io/swagger/oas/test/examples/ExampleBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1065,24 +1065,26 @@ public void testNullExampleSupportOAS3NoFlag() throws Exception{
@Test
public void testAllOfMergeSchemas() throws Exception {
String expected = "{\n" +
" \"data\" : [ {\n" +
" \"topApiId\" : \"8ab9b11d-bf43-469e-a276-f601801d043c\",\n" +
" \"name\" : \"docman\",\n" +
" \"pathwaysVersion\" : \"0.1\",\n" +
" \"active\" : false,\n" +
" \"created\" : \"2018-07-21T17:32:28Z\"\n" +
" }, {\n" +
" \"topApiId\" : \"baa0dc91-9711-4b61-9c90-ce8ac0b109a9\",\n" +
" \"name\" : \"careweb\",\n" +
" \"pathwaysVersion\" : \"0.1\",\n" +
" \"active\" : true,\n" +
" \"created\" : \"2019-07-21T17:32:28Z\"\n" +
" } ]\n" +
"}, {\n" +
" \"pagination\" : {\n" +
" \"offset\" : 0,\n" +
" \"limit\" : 10,\n" +
" \"totalResultCount\" : 100\n" +
" \"data\": [\n" +
" {\n" +
" \"topApiId\": \"8ab9b11d-bf43-469e-a276-f601801d043c\",\n" +
" \"name\": \"docman\",\n" +
" \"pathwaysVersion\": \"0.1\",\n" +
" \"active\": false,\n" +
" \"created\": \"2018-07-21T17:32:28Z\"\n" +
" },\n" +
" {\n" +
" \"topApiId\": \"baa0dc91-9711-4b61-9c90-ce8ac0b109a9\",\n" +
" \"name\": \"careweb\",\n" +
" \"pathwaysVersion\": \"0.1\",\n" +
" \"active\": true,\n" +
" \"created\": \"2019-07-21T17:32:28Z\"\n" +
" }\n" +
" ],\n" +
" \"pagination\": {\n" +
" \"offset\": 0,\n" +
" \"limit\": 10,\n" +
" \"totalResultCount\": 100\n" +
" }\n" +
"}";
ParseOptions options = new ParseOptions();
Expand Down

0 comments on commit 6c0c54d

Please sign in to comment.