Skip to content

Commit

Permalink
chore(oas3): prepare release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Oct 29, 2023
1 parent 9a5fd0b commit d17d45a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 47 deletions.
13 changes: 7 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"cSpell.words": [
"Deque",
"INTS",
"NUMS",
"SPDX",
"STRS",
"Semver",
"btreemap",
"deque",
"deserializable",
"dotenv",
"ints",
"maplit",
"noncomposite",
"nums",
"openapi",
"petstore",
"prettytable",
"println",
"reqwest",
"rustfmt",
"semver",
"spdx",
"strs",
"structs",
"valtree",
"valtrees"
],
Expand Down
38 changes: 6 additions & 32 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,11 @@
# 0.2
# Changelog

* expose security definition as an enum type
* expose schema types which define `parameters` with new `ParameterOrRef` type
* Adds License object
* Adds Contact object
* Derives Default for all structs
* Derives Clone for all structs
* Changes the order of the output to be more similar to OpenAPI examples
* switch to 2018 edition
* swap error_chain for failure crate
## Unreleased

# 0.1.5
## 0.3.0

* expose other schema types as public interfaces
* re-export Result and ResultExt as top level interfaces
- Initial re-release.

# 0.1.4
## 0.2.1

* added operational `parameters` field to `Operations` object

# 0.1.3

* added optional `required` and `enum_values` fields to `Schema` object

# 0.1.2

* added optional `format` fields to `Parameter` object

# 0.1.1

* added optional `summary` field to `Operation` object
* made schemes and tags optional fields on `Operation` object

# 0.1.0

* initial release
- Last version derived from <https://github.com/softprops/openapi>.
19 changes: 11 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
[package]
name = "oas3"
version = "0.2.1"
authors = ["Rob Ede <[email protected]>", "softprops <[email protected]>"]
edition = "2018"
description = "Structures and tools to parse, navigate and validate OpenAPI v3 specifications."
readme = "README.md"
repository = "https://github.com/robjtede/oas3-rs"
license = "MIT"
version = "0.3.0"
authors = [
"softprops <[email protected]>",
"Rob Ede <[email protected]>",
]
keywords = ["oas3", "openapi", "swagger", "api", "validation"]
categories = ["data-structures", "development-tools::testing", "parsing"]
repository = "https://github.com/x52dev/oas3-rs"
license = "MIT"
edition = "2021"

[features]
default = ["validation"]
Expand All @@ -20,17 +22,18 @@ bytes = "1.5"
derive_more = "0.99"
futures-util = "0.3"
http = "0.2"
once_cell = "1"
log = "0.4"
once_cell = "1"
regex = "1"
semver = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
url = { version = "2", features = ["serde"] }

# conformance
colored = { version = "2", optional = true }
prettytable-rs = { version = "0.8", optional = true }
prettytable-rs = { version = "0.10", optional = true }
reqwest = { version = "0.11", optional = true, features = ["json"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add the following to your `Cargo.toml` file

```toml
[dependencies]
oas3 = "0.1"
oas3 = "0.3"
```

## Usage
Expand Down

0 comments on commit d17d45a

Please sign in to comment.