Skip to content

Commit

Permalink
feat: support additionalProperties: bool
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Aug 18, 2024
1 parent 8fdf3a5 commit 81d7111
Show file tree
Hide file tree
Showing 19 changed files with 346 additions and 181 deletions.
29 changes: 29 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
exclude = ["target/*"]
include = ["**/*.toml"]

[formatting]
column_width = 110

[[rule]]
include = ["**/Cargo.toml"]
keys = [
"dependencies",
"*-dependencies",
"workspace.dependencies",
"workspace.*-dependencies",
"target.*.dependencies",
"target.*.*-dependencies",
]
formatting.reorder_keys = true

[[rule]]
include = ["**/Cargo.toml"]
keys = [
"dependencies.*",
"*-dependencies.*",
"workspace.dependencies.*",
"workspace.*-dependencies.*",
"target.*.dependencies",
"target.*.*-dependencies",
]
formatting.reorder_keys = false
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"serde",
"spdx",
"strs",
"struct",
"structs",
"valtree",
"valtrees"
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

## Unreleased

- The `spec::Parameter::schema` field is now of type `ObjectOrReference<Schema>`.
- Rename `spec::{Schema => ObjectSchema}` struct.
- Add `spec::BooleanSchema` struct.
- Add `spec::Schema` enum.
- The `spec::ObjectSchema::addition_properties` field is now of type `Option<Schema>`.
- The `spec::Parameter::schema` field is now of type `ObjectOrReference<ObjectSchema>`.
- Add `Operation::extensions` field.
- Minimum supported Rust version (MSRV) is now 1.70.

Expand Down
Loading

0 comments on commit 81d7111

Please sign in to comment.