Skip to content

Commit a0f81c9

Browse files
committed
swagger-parser 2.0.19
Note: swagger-parser 2.0.19 is more strict than earlier versions
1 parent 443246f commit a0f81c9

File tree

5 files changed

+9
-13
lines changed

5 files changed

+9
-13
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<dependency>
6464
<groupId>io.swagger.parser.v3</groupId>
6565
<artifactId>swagger-parser-v3</artifactId>
66-
<version>2.0.17</version>
66+
<version>2.0.19</version>
6767
</dependency>
6868
<dependency>
6969
<groupId>com.j2html</groupId>

src/test/resources/backwardCompatibility/bc_2.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ paths:
3636
summary: Add a new pet to the store
3737
description: ''
3838
operationId: addPet
39-
responses:
40-
'405':
41-
description: Invalid input
4239
requestBody:
4340
$ref: '#/components/requestBodies/Pet'
4441
responses:
@@ -48,6 +45,8 @@ paths:
4845
application/json:
4946
schema:
5047
$ref: '#/components/schemas/MyResponseType'
48+
'405':
49+
description: Invalid input
5150
/pet/findByStatus:
5251
get:
5352
tags:

src/test/resources/backwardCompatibility/bc_3.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ paths:
3636
summary: Add a new pet to the store
3737
description: ''
3838
operationId: addPet
39-
responses:
40-
'405':
41-
description: Invalid input
4239
requestBody:
4340
$ref: '#/components/requestBodies/Pet'
4441
responses:
@@ -48,6 +45,8 @@ paths:
4845
application/json:
4946
schema:
5047
$ref: '#/components/schemas/MyResponseType'
48+
'405':
49+
description: Invalid input
5150
get:
5251
tags:
5352
- pet

src/test/resources/backwardCompatibility/bc_4.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ paths:
3636
summary: Add a new pet to the store
3737
description: ''
3838
operationId: addPet
39-
responses:
40-
'405':
41-
description: Invalid input
4239
requestBody:
4340
$ref: '#/components/requestBodies/Pet'
4441
responses:
@@ -48,6 +45,8 @@ paths:
4845
application/json:
4946
schema:
5047
$ref: '#/components/schemas/MyResponseType'
48+
'405':
49+
description: Invalid input
5150
/pet/findByStatus:
5251
get:
5352
tags:

src/test/resources/schema_diff_cache_1.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ paths:
3636
summary: Add a new pet to the store
3737
description: ''
3838
operationId: addPet
39-
responses:
40-
'405':
41-
description: Invalid input
4239
requestBody:
4340
$ref: '#/components/requestBodies/Pet'
4441
responses:
@@ -48,6 +45,8 @@ paths:
4845
application/json:
4946
schema:
5047
$ref: '#/components/schemas/MyResponseType'
48+
'405':
49+
description: Invalid input
5150
get:
5251
tags:
5352
- pet

0 commit comments

Comments
 (0)