mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 12:37:48 +00:00
Added support for unevaluatedProperties as Schema and bool #118
Also ran `gofmt` across the entire project. Things need cleaning up. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -17,7 +17,8 @@ import (
|
||||
// which is used to inform the consumer of the document of an alternative schema based on the value associated with it.
|
||||
//
|
||||
// When using the discriminator, inline schemas will not be considered.
|
||||
// v3 - https://spec.openapis.org/oas/v3.1.0#discriminator-object
|
||||
//
|
||||
// v3 - https://spec.openapis.org/oas/v3.1.0#discriminator-object
|
||||
type Discriminator struct {
|
||||
PropertyName low.NodeReference[string]
|
||||
Mapping low.NodeReference[map[low.KeyReference[string]]low.ValueReference[string]]
|
||||
|
||||
Reference in New Issue
Block a user