Skip to content

Commit

Permalink
fixed formatting for fastapi/huma
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon committed Jan 9, 2024
1 parent a82e0b4 commit 7fb1315
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/_guides/bump-sh-tutorials/fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ The following assumes your local machine is configured with Python and FastAPI,
npm install -g bump-cli
```

1. Launch your local server with
3. Launch your local server with
```bash
uvicorn main:app --reload
```
**Note:** You might need, depending on how you usually run your Python commands, to prepend them with `python3 -m`.

1. Deploy your doc to Bump.sh with
4. Deploy your doc to Bump.sh with
```bash
bump deploy http://127.0.0.1:8000/openapi.json \
--doc my-documentation-name \
Expand Down
7 changes: 5 additions & 2 deletions src/_guides/bump-sh-tutorials/huma.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ The following assumes your local machine is configured with Golang and you have
npm install -g bump-cli
```

1. Launch your local server with
3. Launch your local server:

```bash
go run .
```

This will run not only the application, but it will make API documentation available on <http://127.0.0.1:8000/>.

1. Deploy your doc to Bump.sh with
4. Deploy your doc to Bump.sh:

```bash
bump deploy http://127.0.0.1:8888/openapi.yaml \
--doc my-documentation-name \
Expand Down

0 comments on commit 7fb1315

Please sign in to comment.