Skip to content

Commit e40a1e7

Browse files
Update v31 assertions
1 parent ad965c9 commit e40a1e7

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ _test_files/
99
dist/
1010
venv312/
1111
.local
12+
v3_debug_*

tests/test_v31.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def get_instance(self) -> Any:
168168

169169
def yaml(self) -> str:
170170
return """
171-
openapi: 3.1.0
171+
openapi: 3.1.1
172172
info:
173173
title: Cats API
174174
version: 1.0.0
@@ -209,7 +209,7 @@ def yaml(self) -> str:
209209
def json(self) -> str:
210210
return """
211211
{
212-
"openapi": "3.1.0",
212+
"openapi": "3.1.1",
213213
"info": {
214214
"title": "Cats API",
215215
"version": "1.0.0"
@@ -347,7 +347,7 @@ def get_instance(self) -> Any:
347347

348348
def yaml(self) -> str:
349349
return """
350-
openapi: 3.1.0
350+
openapi: 3.1.1
351351
info:
352352
title: Cats API
353353
version: 1.0.0
@@ -417,7 +417,7 @@ def yaml(self) -> str:
417417
def json(self) -> str:
418418
return """
419419
{
420-
"openapi": "3.1.0",
420+
"openapi": "3.1.1",
421421
"info": {
422422
"title": "Cats API",
423423
"version": "1.0.0"
@@ -609,7 +609,7 @@ def get_instance(self) -> Any:
609609

610610
def yaml(self) -> str:
611611
return """
612-
openapi: 3.1.0
612+
openapi: 3.1.1
613613
info:
614614
title: Weather API
615615
version: 0.0.0-alpha
@@ -678,7 +678,7 @@ def yaml(self) -> str:
678678
def json(self) -> str:
679679
return """
680680
{
681-
"openapi": "3.1.0",
681+
"openapi": "3.1.1",
682682
"info": {
683683
"title": "Weather API",
684684
"version": "0.0.0-alpha"
@@ -827,7 +827,7 @@ def get_instance(self) -> Any:
827827

828828
def yaml(self) -> str:
829829
return """
830-
openapi: 3.1.0
830+
openapi: 3.1.1
831831
info:
832832
title: Example API
833833
version: 0.0.0-alpha
@@ -864,7 +864,7 @@ def yaml(self) -> str:
864864
def json(self) -> str:
865865
return """
866866
{
867-
"openapi": "3.1.0",
867+
"openapi": "3.1.1",
868868
"info": {
869869
"title": "Example API",
870870
"version": "0.0.0-alpha"
@@ -972,7 +972,7 @@ def get_instance(self) -> Any:
972972

973973
def yaml(self) -> str:
974974
return """
975-
openapi: 3.1.0
975+
openapi: 3.1.1
976976
info:
977977
title: Example API
978978
version: 0.0.0-alpha
@@ -1017,7 +1017,7 @@ def yaml(self) -> str:
10171017
def json(self) -> str:
10181018
return """
10191019
{
1020-
"openapi": "3.1.0",
1020+
"openapi": "3.1.1",
10211021
"info": {
10221022
"title": "Example API",
10231023
"version": "0.0.0-alpha"
@@ -1149,7 +1149,7 @@ def get_instance(self) -> Any:
11491149

11501150
def yaml(self) -> str:
11511151
return """
1152-
openapi: 3.1.0
1152+
openapi: 3.1.1
11531153
info:
11541154
title: Example API
11551155
version: 0.0.0-alpha
@@ -1203,7 +1203,7 @@ def yaml(self) -> str:
12031203
def json(self) -> str:
12041204
return """
12051205
{
1206-
"openapi": "3.1.0",
1206+
"openapi": "3.1.1",
12071207
"info": {
12081208
"title": "Example API",
12091209
"version": "0.0.0-alpha"
@@ -1395,7 +1395,7 @@ def get_instance(self) -> Any:
13951395

13961396
def yaml(self) -> str:
13971397
return """
1398-
openapi: 3.1.0
1398+
openapi: 3.1.1
13991399
info:
14001400
title: Example API
14011401
version: 0.0.0-alpha
@@ -1494,7 +1494,7 @@ def yaml(self) -> str:
14941494
def json(self) -> str:
14951495
return """
14961496
{
1497-
"openapi": "3.1.0",
1497+
"openapi": "3.1.1",
14981498
"info": {
14991499
"title": "Example API",
15001500
"version": "0.0.0-alpha"
@@ -1693,7 +1693,7 @@ def get_instance(self) -> Any:
16931693

16941694
def yaml(self) -> str:
16951695
return """
1696-
openapi: 3.1.0
1696+
openapi: 3.1.1
16971697
info:
16981698
title: Example API
16991699
version: 0.0.0-alpha
@@ -1738,7 +1738,7 @@ def yaml(self) -> str:
17381738
def json(self) -> str:
17391739
return """
17401740
{
1741-
"openapi": "3.1.0",
1741+
"openapi": "3.1.1",
17421742
"info": {
17431743
"title": "Example API",
17441744
"version": "0.0.0-alpha"
@@ -1879,7 +1879,7 @@ def get_instance(self) -> Any:
18791879

18801880
def yaml(self) -> str:
18811881
return """
1882-
openapi: 3.1.0
1882+
openapi: 3.1.1
18831883
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
18841884
servers:
18851885
- url: https://{username}.gigantic-server.com:{port}/{basePath}
@@ -1901,7 +1901,7 @@ def yaml(self) -> str:
19011901
def json(self) -> str:
19021902
return """
19031903
{
1904-
"openapi": "3.1.0",
1904+
"openapi": "3.1.1",
19051905
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
19061906
"servers": [
19071907
{

0 commit comments

Comments
 (0)