OpenAPI¶
get_argument(argument_type, argument_name)
¶
Make argument from given type and name.
Source code in apiflask/openapi.py
92 93 94 95 96 97 98 99 100 101 102 103 104 |
|
get_operation_tags(blueprint, blueprint_name)
¶
Get operation tag from blueprint object.
Source code in apiflask/openapi.py
45 46 47 48 49 50 51 52 53 54 55 |
|
get_path_description(func)
¶
Get path description from the docstring of the view function.
Source code in apiflask/openapi.py
83 84 85 86 87 88 89 |
|
get_path_summary(func, fallback=None)
¶
Get path summary from the name or docstring of the view function.
Source code in apiflask/openapi.py
70 71 72 73 74 75 76 77 78 79 80 |
|
get_security_and_security_schemes(auth_names, auth_schemes)
¶
Make security and security schemes from given auth names and schemes.
Source code in apiflask/openapi.py
58 59 60 61 62 63 64 65 66 67 |
|
get_tag(blueprint, blueprint_name)
¶
Get tag from blueprint object.
Source code in apiflask/openapi.py
32 33 34 35 36 37 38 39 40 41 42 |
|