Skip to content

Commit

Permalink
doc: align doc examples with latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
g0di committed Aug 5, 2024
1 parent 808b357 commit baf7c12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Updated the doc examples to align with changes made in previous release

## [0.1.2] - 2024-08-01

### Fixed
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ curl -X POST http://localhost:8000/users/ -d '{}' -H "Content-Type: application/
"title": "Unprocessable Entity",
"status": 422,
"detail": "Request validation failed",
"instance": null,
"errors": [
{
"type": "missing",
Expand Down Expand Up @@ -142,7 +141,6 @@ curl -X POST http://localhost:8000/not-exist
"title": "Not Found",
"status": 404,
"detail": "Nothing matches the given URI",
"instance": null
}
```

Expand Down Expand Up @@ -202,7 +200,6 @@ $ curl http://localhost:8000
"title": "Internal Server Error",
"status": 500,
"detail": "Server got itself in trouble",
"instance": null,
"exc_stack": [
"Traceback (most recent call last):\n",
" File \"/Users/gody/Development/OpenSource/fastapi-problem-details/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py\", line 164, in __call__\n await self.app(scope, receive, _send)\n",
Expand Down

0 comments on commit baf7c12

Please sign in to comment.