mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Added support for missing 3.1 schema properties, however it does not cover the `boolean` case
33 lines
1.1 KiB
Go
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"
|
|
)
|