Skip to content

Commit

Permalink
fixing small typo in README.md (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
JMTamayo authored May 30, 2024
2 parents 9463fe9 + c33adf6 commit de2e2f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ On feature `serde` enabled, you can serialize and deserialize a `Book` as follow
pub type PeoplePage = Page<Person>;
pub type PeopleBook = Book<Person>;
#[derive(OpenApi)]
#[openapi(
components(schemas(PeoplePage, PeopleBook))
)]
pub struct ApiDoc;
#[derive(OpenApi)]
#[openapi(
components(schemas(PeoplePage, PeopleBook))
)]
pub struct ApiDoc;
```

Take a look at the [examples](https://github.com/JMTamayo/page-hunter/tree/main/examples) folder where you can find practical uses in REST API implementations with some web frameworks.
Expand Down

0 comments on commit de2e2f0

Please sign in to comment.