Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1 #7

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

V1 #7

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9eea144
Define `Schema` as a newtype around `serde_json::Value` (#289)
GREsau May 12, 2024
fdb5f53
Simplify `flatten`
GREsau May 13, 2024
724f8e5
Remove usage of `is_some_and` (not supported in rustc 1.60)
GREsau May 13, 2024
ca62557
Remove test schemas for now-removed `RootSchema`
GREsau May 13, 2024
4dd92a6
Update OpenAPI 3.0 schema URI
GREsau May 13, 2024
384f232
Regenerate test schemas
GREsau May 13, 2024
593c3fc
Regenerate example schemas
GREsau May 13, 2024
7802252
Use `const` instead of single-valued `enum` (#291)
GREsau May 13, 2024
2e2328f
Refactor `flatten` and move it to `_private`, remove `TempFixupForTes…
GREsau May 13, 2024
9443424
Re-add `preserve_order` feature, to preserve order of struct fields i…
GREsau May 18, 2024
a2de062
Use `$defs` instead of `definitions` in draft 2019-09
GREsau May 19, 2024
46369e3
Support JSON Schema draft 2020-12 and use it by default (#294)
GREsau May 19, 2024
354fa91
Allow running visitors against pre-2020-12 schemas
GREsau May 20, 2024
5737c12
Revert to previous behaviour regarding visitors running on `$defs`/`d…
GREsau May 23, 2024
92d02b2
impl JsonSchema for Schema
GREsau May 23, 2024
d1a39bf
Make `schema_name()` return `Cow<'static, str>` instead of `String`
GREsau May 26, 2024
5076e8b
Replace `is_referenceable()` with `always_inline_schema()`
GREsau May 26, 2024
b955e92
Regenerate example schemas
GREsau May 26, 2024
70aa0c0
Update doc comments and make `SchemaGenerator` available from crate root
GREsau May 27, 2024
dce7142
v1.0.0-alpha.1
GREsau May 27, 2024
db8fda0
Update readme for v1
GREsau May 27, 2024
10eacde
Add `#[schemars(extend("key" = value))]` attribute (#297)
GREsau Jun 5, 2024
5092aee
v1.0.0-alpha.2
GREsau Jun 5, 2024
14aaa48
Add separate docs for v0.8/v1
GREsau Jun 9, 2024
ad5baa9
Add `extend` attribute to docs
GREsau Jun 9, 2024
1683ece
Update docs for v1
GREsau Jun 9, 2024
cf88f19
Fix multiple enum flatten
rlebran Jun 25, 2024
d7a3c9f
Fix post rebase
rlebran Jun 25, 2024
9633026
Fix tests
rlebran Jun 25, 2024
d59983e
Add ipnetwork support
rlebran Jun 25, 2024
fb5b869
Publish alpha2
rlebran Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- nightly
include:
- rust: 1.60.0
test_features: "--features impl_json_schema"
test_features: ""
allow_failure: false
- rust: stable
test_features: "--all-features"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- v1

env:
CARGO_TERM_COLOR: always
Expand Down
105 changes: 38 additions & 67 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading