Skip to content

Commit

Permalink
Mention apistos crate in Step 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jan 25, 2024
1 parent 0bdcad4 commit c8558cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 4_backend/4_3_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For more information about [REST], read through the following articles:
>
> An OpenAPI definition can then be used by documentation generation tools to display the API, code generation tools to generate servers and clients in various programming languages, testing tools, and many other use cases.
In [Rust] ecosystem, most [OpenAPI] crates follow the __code-first approach__ (generating [OpenAPI] schema from source code). The most notable crates for this are [`utoipa`] and [`okapi`].
In [Rust] ecosystem, most [OpenAPI] crates follow the __code-first approach__ (generating [OpenAPI] schema from source code). The most notable crates for this are [`utoipa`], [`okapi`] and [`apistos`].

For the opposite (generating source code from [OpenAPI] schema) [Rust] ecosystem lacks its own pure implementation, and the original [OpenAPI] tool [`openapi-generator`] should be used (powered by the [`swagger`] crate).

Expand All @@ -37,6 +37,7 @@ For more familiarity with [OpenAPI] and using it in [Rust], read through the fol
- [SwaggerHub Documentation: OpenAPI 3.0 Tutorial][122]
- [Official `utoipa` crate docs][`cynic`]
- [Official `okapi` crate docs][`okapi`]
- [Official `apistos` crate docs][`apistos`]
- [Twilio Docs: Generate a Rust client for Twilio's API][121]
- [Fabian Odenthal: Auto-Generating & Validating OpenAPI Docs in Rust: A Streamlined Approach with Utoipa and Schemathesis][123]
- [Olly Dixon: Auto-generating API service using Rust, to TypeScript & Dart][124]
Expand Down Expand Up @@ -137,6 +138,7 @@ After completing everything above, you should be able to answer (and understand



[`apistos`]: https://docs.rs/apistos
[`async-graphql`]: https://docs.rs/async-graphql
[`cynic`]: https://docs.rs/cynic
[`graphql-client`]: https://github.com/graphql-rust/graphql-client
Expand Down

0 comments on commit c8558cd

Please sign in to comment.