File tree 1 file changed +3
-10
lines changed
openapi_python_client/schema/openapi_schema_pydantic
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
if TYPE_CHECKING :
4
4
from .path_item import PathItem
5
+ else :
6
+ PathItem = "PathItem" # pylint: disable=invalid-name
5
7
6
- Callback = Dict [str , " PathItem" ]
8
+ Callback = Dict [str , PathItem ]
7
9
"""
8
10
A map of possible out-of band callbacks related to the parent operation.
9
11
Each value in the map is a [Path Item Object](#pathItemObject)
10
12
that describes a set of requests that may be initiated by the API provider and the expected responses.
11
13
The key value used to identify the path item object is an expression, evaluated at runtime,
12
14
that identifies a URL to use for the callback operation.
13
15
"""
14
-
15
- """Patterned Fields"""
16
-
17
- # {expression}: 'PathItem' = ...
18
- """
19
- A Path Item Object used to define a callback request and expected responses.
20
-
21
- A [complete example](../examples/v3.0/callback-example.yaml) is available.
22
- """
You can’t perform that action at this time.
0 commit comments