Skip to content

Commit

Permalink
Clearify FAQ awnser
Browse files Browse the repository at this point in the history
  • Loading branch information
ralpha committed Oct 10, 2021
1 parent 1d1ecc9 commit 34b0901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ It shows: No authentication, API keys, HTTP Auth, OAuth2, OpenID and Cookies.
- **Q: Can I generate code from my OpenAPI file?**<br/>
A: No, this crate only allows you to automatically generate the OpenAPI file from your code.
There are other crates that (attempt to) do this.
So:
- Rust code (Rocket) --> OpenAPI == Okapi
- OpenAPI --> Rust code != Okapi

- **Q: My (diesel) database does not implement `OpenApiFromRequest`.**<br/>
A: This is because the parameter does not show up in the path, query or body.
Expand Down

0 comments on commit 34b0901

Please sign in to comment.