mirror of
https://github.com/fastapi/fastapi.git
synced 2026-03-06 07:59:17 -05:00
📝 Update docs for responses and new stream with yield (#15023)
This commit is contained in:
committed by
GitHub
parent
c0836dc1b7
commit
1377052c6c
@@ -26,6 +26,7 @@ def get_client(mod):
|
||||
[
|
||||
"/image/stream",
|
||||
"/image/stream-no-async",
|
||||
"/image/stream-no-async-yield-from",
|
||||
"/image/stream-no-annotation",
|
||||
"/image/stream-no-async-no-annotation",
|
||||
],
|
||||
@@ -73,6 +74,20 @@ def test_openapi_schema(client: TestClient):
|
||||
},
|
||||
}
|
||||
},
|
||||
"/image/stream-no-async-yield-from": {
|
||||
"get": {
|
||||
"summary": "Stream Image No Async Yield From",
|
||||
"operationId": "stream_image_no_async_yield_from_image_stream_no_async_yield_from_get",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"image/png": {"schema": {"type": "string"}}
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
"/image/stream-no-annotation": {
|
||||
"get": {
|
||||
"summary": "Stream Image No Annotation",
|
||||
|
||||
Reference in New Issue
Block a user