Files
libopenapi/datamodel/low/base/constants.go
Dave Shanley d51d2fcd27 Added contains, minContains and maxContains to schema #28
Added support for missing 3.1 schema properties, however it does not cover the `boolean` case
2022-12-09 07:06:34 -05:00

33 lines
1.1 KiB
Go

// Copyright 2022 Princess B33f Heavy Industries / Dave Shanley
// SPDX-License-Identifier: MIT
package base
// Constants for labels used to look up values within OpenAPI specifications.
const (
TagsLabel = "tags"
ExternalDocsLabel = "externalDocs"
ExamplesLabel = "examples"
ExampleLabel = "example"
ValueLabel = "value"
InfoLabel = "info"
ContactLabel = "contact"
LicenseLabel = "license"
PropertiesLabel = "properties"
AdditionalPropertiesLabel = "additionalProperties"
XMLLabel = "xml"
ItemsLabel = "items"
PrefixItemsLabel = "prefixItems"
ContainsLabel = "contains"
AllOfLabel = "allOf"
AnyOfLabel = "anyOf"
OneOfLabel = "oneOf"
NotLabel = "not"
TypeLabel = "type"
DiscriminatorLabel = "discriminator"
ExclusiveMinimumLabel = "exclusiveMinimum"
ExclusiveMaximumLabel = "exclusiveMaximum"
SchemaLabel = "schema"
SchemaTypeLabel = "$schema"
)