File tree Expand file tree Collapse file tree 9 files changed +339
-83
lines changed Expand file tree Collapse file tree 9 files changed +339
-83
lines changed Original file line number Diff line number Diff line change
1
+ # Reference
2
+
3
+ Documentation with information of functions, classes or methods and all other parts of the OpenAPI-core public API.
Original file line number Diff line number Diff line change
1
+ # ` OpenAPI ` class
2
+
3
+ ::: openapi_core.OpenAPI
4
+ options:
5
+ members:
6
+ - from_dict
7
+ - from_path
8
+ - from_file_path
9
+ - from_file
10
+ - unmarshal_request
11
+ - unmarshal_response
12
+ - validate_request
13
+ - validate_response
Original file line number Diff line number Diff line change
1
+ # Protocols
2
+
3
+ ::: openapi_core.Request
4
+ options:
5
+ show_docstring_attributes: true
6
+
7
+ ::: openapi_core.WebhookRequest
8
+ options:
9
+ show_docstring_attributes: true
10
+
11
+ ::: openapi_core.Response
12
+ options:
13
+ show_docstring_attributes: true
Original file line number Diff line number Diff line change @@ -46,6 +46,24 @@ theme:
46
46
- toc.follow
47
47
repo_name : python-openapi/openapi-core
48
48
repo_url : https://github.com/python-openapi/openapi-core
49
+ plugins :
50
+ - mkdocstrings :
51
+ handlers :
52
+ python :
53
+ options :
54
+ extensions :
55
+ - griffe_typingdoc
56
+ show_root_heading : true
57
+ show_if_no_docstring : true
58
+ inherited_members : true
59
+ members_order : source
60
+ separate_signature : true
61
+ unwrap_annotated : true
62
+ merge_init_into_class : true
63
+ docstring_section_style : spacy
64
+ signature_crossrefs : true
65
+ show_symbol_type_heading : true
66
+ show_symbol_type_toc : true
49
67
nav :
50
68
- OpenAPI-core : index.md
51
69
- unmarshalling.md
75
93
- customizations/extra_format_unmarshallers.md
76
94
- security.md
77
95
- extensions.md
96
+ - Reference :
97
+ - reference/index.md
98
+ - reference/openapi.md
99
+ - reference/protocols.md
78
100
- contributing.md
79
101
markdown_extensions :
80
102
- admonition
Original file line number Diff line number Diff line change 2
2
3
3
from openapi_core .app import OpenAPI
4
4
from openapi_core .configurations import Config
5
+ from openapi_core .protocols import Request
6
+ from openapi_core .protocols import Response
7
+ from openapi_core .protocols import WebhookRequest
5
8
from openapi_core .shortcuts import unmarshal_apicall_request
6
9
from openapi_core .shortcuts import unmarshal_apicall_response
7
10
from openapi_core .shortcuts import unmarshal_request
45
48
__all__ = [
46
49
"OpenAPI" ,
47
50
"Config" ,
51
+ "Request" ,
52
+ "Response" ,
53
+ "WebhookRequest" ,
48
54
"Spec" ,
49
55
"unmarshal_request" ,
50
56
"unmarshal_response" ,
You can’t perform that action at this time.
0 commit comments