-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Description
First Check
- I added a very descriptive title to this issue.
- I used the GitHub search to find a similar issue and didn't find it.
- I searched the FastAPI documentation, with the integrated search.
- I already searched in Google "How to X in FastAPI" and didn't find any information.
- I already read and followed all the tutorial in the docs and didn't find an answer.
- I already checked if it is not related to FastAPI but to Pydantic.
- I already checked if it is not related to FastAPI but to Swagger UI.
- I already checked if it is not related to FastAPI but to ReDoc.
Commit to Help
- I commit to help with one of those options 👆
Example Code
PlainTextResponseDescription
Could you add to this page https://github.com/tiangolo/fastapi/blob/master/docs/en/docs/tutorial/schema-extra-example.md (or create a new page) an example of how the PlainTextResponse example value could be written in the fastapi Python code?
All it says now is "string"..... :-)
Maybe due to a lack of a schema...but a placeholder for the actual value of the string would be usefull to know about.
Wanted Solution
Tutorial documentation update.
Wanted Code
n/aAlternatives
No response
Operating System
Other
Operating System Details
No response
FastAPI Version
latest
Python Version
3.9
Additional Context
No response