From 5be936de032fcca9b69e9102167e001a38b9e9c6 Mon Sep 17 00:00:00 2001 From: Juha Kukkonen Date: Thu, 10 Feb 2022 21:20:50 +0200 Subject: [PATCH] Fix documentation --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8c895599..edc9f90f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,8 +23,8 @@ //! # Features //! //! * **default** Default enabled features are **json**. -//! * **json** Enables some advanced features for openapi which otherwise are not available. Thus is -//! enabled by default. +//! * **json** Enables **serde_json** what allow to use json values in OpenAPI specification values. +//! Thus is enabled by default. //! * **swagger_ui** Enables the embedded Swagger UI to view openapi api documentation. //! * **actix-web** Enables actix-web integration with pre-configured SwaggerUI service factory allowing //! users to use the Swagger UI without a hazzle. @@ -37,14 +37,14 @@ //! Add minimal dependency declaration to Cargo.toml. //! ```text //! [dependencies] -//! utoipa = "0.1.beta.0" +//! utoipa = "0.1.0.beta.0" //! ``` //! //! To enable more features such as use of swagger together with actix-web framework you could define the //! dependency as follows. //! ```text //! [dependencies] -//! utoipa = { version = "0.1.beta.0", features = ["swagger_ui", "actix-web", "actix_extras"] } +//! utoipa = { version = "0.1.0.beta.0", features = ["swagger_ui", "actix-web", "actix_extras"] } //! ``` //! //! # Examples