OpenAPI¶
get_argument(argument_type, argument_name)
¶
Make argument from given type and name.
Source code in apiflask/openapi.py
81 82 83 84 85 86 87 88 89 90 91 92 93 | |
get_default_response()
¶
Get a default 200 response object.
Source code in apiflask/openapi.py
96 97 98 99 100 101 102 103 104 105 106 107 108 | |
get_operation_tags(blueprint, blueprint_name)
¶
Get operation tag from blueprint object.
Source code in apiflask/openapi.py
34 35 36 37 38 39 40 41 42 43 44 | |
get_path_description(func)
¶
Get path description from the docstring of the view function.
Source code in apiflask/openapi.py
72 73 74 75 76 77 78 | |
get_path_summary(func, fallback=None)
¶
Get path summary from the name or docstring of the view function.
Source code in apiflask/openapi.py
59 60 61 62 63 64 65 66 67 68 69 | |
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
47 48 49 50 51 52 53 54 55 56 | |
get_tag(blueprint, blueprint_name)
¶
Get tag from blueprint object.
Source code in apiflask/openapi.py
21 22 23 24 25 26 27 28 29 30 31 | |