An open API service indexing awesome lists of open source software.

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

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'
```