diff --git a/Cargo.lock b/Cargo.lock index 892e8f8..645f454 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -224,7 +224,7 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "openapi-parser" -version = "0.1.0" +version = "0.2.0" dependencies = [ "clap", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 812a920..8a1644c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Extract schemas definitions tree from OpenAPI documents" authors = ["Pierre Hubert "] license = "MIT" repository = "https://gitea.communiquons.org/pierre/OpenAPI-Parser" -version = "0.1.0" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/lib.rs index 87aef17..6e7f0dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,7 +45,7 @@ pub enum NodeType { /// Object value Object { /// Required filed for the object - required: Option>,* + required: Option>, /// The children of the object children: Vec, },