https://github.com/textbook/fastapi-bug
Creating a MRE of a possible issue in FastAPI
https://github.com/textbook/fastapi-bug
Last synced: about 1 year ago
JSON representation
Creating a MRE of a possible issue in FastAPI
- Host: GitHub
- URL: https://github.com/textbook/fastapi-bug
- Owner: textbook
- Created: 2024-12-31T16:47:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-05T20:38:25.000Z (about 1 year ago)
- Last Synced: 2025-06-22T01:47:40.860Z (about 1 year ago)
- Language: Python
- Homepage: https://github.com/fastapi/fastapi/discussions/13127
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastAPI Bug
## Steps to recreate
Install dependencies; either:
```shell
pip install 'fastapi[standard]' pytest
```
or:
```shell
pip install -r requirements.txt
```
Run the tests:
```shell
pytest
```
or start the app:
```shell
python -m app
```
and hit the endpoints, e.g. using:
```shell
curl --header 'Request-Correlation-Id: whatever' --verbose 'http://0.0.0.0:8080/success'
```