|
|
@ -105,7 +105,7 @@ class APIRoute(routing.Route): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
name: str = None, |
|
|
|
methods: List[str] = None, |
|
|
@ -226,7 +226,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
methods: List[str] = None, |
|
|
|
operation_id: str = None, |
|
|
@ -263,7 +263,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
methods: List[str] = None, |
|
|
|
operation_id: str = None, |
|
|
@ -299,7 +299,7 @@ class APIRouter(routing.Router): |
|
|
|
*, |
|
|
|
prefix: str = "", |
|
|
|
tags: List[str] = None, |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
) -> None: |
|
|
|
if prefix: |
|
|
|
assert prefix.startswith("/"), "A path prefix must start with '/'" |
|
|
@ -391,7 +391,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -425,7 +425,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -459,7 +459,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -493,7 +493,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -527,7 +527,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -561,7 +561,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -595,7 +595,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
@ -629,7 +629,7 @@ class APIRouter(routing.Router): |
|
|
|
summary: str = None, |
|
|
|
description: str = None, |
|
|
|
response_description: str = "Successful Response", |
|
|
|
additional_responses: AdditionalResponse = [], |
|
|
|
additional_responses: List[AdditionalResponse] = [], |
|
|
|
deprecated: bool = None, |
|
|
|
operation_id: str = None, |
|
|
|
include_in_schema: bool = True, |
|
|
|