Skip to content

Commit 34b0901

Browse files
committed
Clearify FAQ awnser
1 parent 1d1ecc9 commit 34b0901

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ It shows: No authentication, API keys, HTTP Auth, OAuth2, OpenID and Cookies.
106106
- **Q: Can I generate code from my OpenAPI file?**<br/>
107107
A: No, this crate only allows you to automatically generate the OpenAPI file from your code.
108108
There are other crates that (attempt to) do this.
109+
So:
110+
- Rust code (Rocket) --> OpenAPI == Okapi
111+
- OpenAPI --> Rust code != Okapi
109112

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

0 commit comments

Comments
 (0)