Skip to content

Commit 9b5e5d8

Browse files
authored
Add OpenAPI Specification v3.1 objects (#41)
* Add OpenAPI Specification v3.1 objects * Update docstrings * Remove pattern_properties from Schema * Fix Schema and MediaType models Remove example from MediaType Remove nullable from Schema Add support list in type in Schema Add content_encoding to Schema Add content_media_type to Schema
1 parent 43ad8a2 commit 9b5e5d8

File tree

4 files changed

+2823
-1
lines changed

4 files changed

+2823
-1
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ max-complexity = 18
66
per-file-ignores =
77
tests/test_v2.py: E501
88
tests/test_v3.py: E501
9+
tests/test_v31.py: E501
910
select = B,C,E,F,W,T4,B9

openapidocs/v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
This module defines classes that can be used to generate OpenAPI Documentation
33
version 3.
4-
https://swagger.io/specification/
4+
https://swagger.io/specification/v3/
55
"""
66

77
from abc import ABC

0 commit comments

Comments
 (0)