From 31b6bc67ffcd53f3bb02433f78a06dd031fc79ca Mon Sep 17 00:00:00 2001 From: Juha Kukkonen Date: Tue, 15 Feb 2022 18:33:39 +0200 Subject: [PATCH] Update to next beta --- Cargo.toml | 4 ++-- README.md | 10 +++++----- utoipa-gen/Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 19452744..3c0eb9aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa" description = "Compile time rest API documentation for Rust" -version = "0.1.0-beta.4" +version = "0.1.0-beta.5" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -29,7 +29,7 @@ serde_json = { version = "1.0", optional = true } rust-embed = { version = "6.3", optional = true, features = ["interpolate-folder-path"] } actix-web = { version = "3.3", optional = true } mime_guess = { version = "2.0", optional = true } -utoipa-gen = { version = "0.1.0-beta.4", path = "./utoipa-gen" } +utoipa-gen = { version = "0.1.0-beta.5", path = "./utoipa-gen" } [dev-dependencies] paste = "1.0.6" diff --git a/README.md b/README.md index bea770d4..db04f809 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # utoipa - Autogenerate OpenAPI documentation [![Utoipa build](https://github.com/juhaku/utoipa/actions/workflows/build.yaml/badge.svg)](https://github.com/juhaku/utoipa/actions/workflows/build.yaml) -[![crates.io](https://img.shields.io/static/v1?label=crates.io&message=0.1.0-beta.4&color=orange&logo=rust)](https://crates.io/crates/utoipa/0.1.0-beta.4) -[![docs.rs](https://img.shields.io/static/v1?label=docs.rs&message=utoipa&color=blue&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K)](https://docs.rs/utoipa/0.1.0-beta.4/utoipa/) +[![crates.io](https://img.shields.io/static/v1?label=crates.io&message=0.1.0-beta.5&color=orange&logo=rust)](https://crates.io/crates/utoipa/0.1.0-beta.5) +[![docs.rs](https://img.shields.io/static/v1?label=docs.rs&message=utoipa&color=blue&logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K)](https://docs.rs/utoipa/0.1.0-beta.5/utoipa/) Want to have your API documented with OpenAPI? But you dont want to see the trouble with manual yaml or json tweaking? Would like it to be so easy that it would almost @@ -43,14 +43,14 @@ and the `ipa` is api reversed. Add minimal dependency declaration to Cargo.toml. ``` [dependencies] -utoipa = "0.1.0.beta.4" +utoipa = "0.1.0.beta.5" ``` To enable more features such as use of swagger together with actix-web framework you could define the dependency as follows. ``` [dependencies] -utoipa = { version = "0.1.0.beta.4", features = ["swagger_ui", "actix-web", "actix_extras"] } +utoipa = { version = "0.1.0.beta.5", features = ["swagger_ui", "actix-web", "actix_extras"] } ``` ## Current project status @@ -215,7 +215,7 @@ HttpServer::new(move || { .await ``` -See more details in `swagger_ui` module of [utoipa docs](https://docs.rs/utoipa/0.1.0-beta.4/utoipa/). +See more details in `swagger_ui` module of [utoipa docs](https://docs.rs/utoipa/0.1.0-beta.5/utoipa/). You can also browse to [examples](https://github.com/juhaku/utoipa/tree/master/examples) for more comprehensinve examples. diff --git a/utoipa-gen/Cargo.toml b/utoipa-gen/Cargo.toml index e1673ef1..3cf07fe8 100644 --- a/utoipa-gen/Cargo.toml +++ b/utoipa-gen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "utoipa-gen" description = "Code generation implementation for utoipa" -version = "0.1.0-beta.4" +version = "0.1.0-beta.5" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/juhaku/utoipa"