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

fix: setting defaults for oneOf and anyOf #690

Merged
merged 3 commits into from
Dec 6, 2022
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
fix: undo origin test change
tomato0111 committed Dec 5, 2022
commit d9a86a1ae62d275332479e420377a1412e54a40e
3 changes: 1 addition & 2 deletions openapi3filter/validate_set_default_test.go
Original file line number Diff line number Diff line change
@@ -262,8 +262,7 @@ func TestValidateRequestBodyAndSetDefault(t *testing.T) {
"type": "string",
"default": "www.twitter.com"
}
},
"additionalProperties": false
}
},
{
"type": "object",