mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Which has led to a new wider hashing capability for the low level API. hashing makes it very easy to determine changes quickly, without having to run comparisons to discover changes, could really speed things up moving forward.
94 lines
3.5 KiB
Go
94 lines
3.5 KiB
Go
// Copyright 2022 Princess B33f Heavy Industries / Dave Shanley
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v3
|
|
|
|
// Label definitions used to look up vales in yaml.Node tree.
|
|
const (
|
|
ComponentsLabel = "components"
|
|
SchemasLabel = "schemas"
|
|
EncodingLabel = "encoding"
|
|
HeadersLabel = "headers"
|
|
ParametersLabel = "parameters"
|
|
RequestBodyLabel = "requestBody"
|
|
RequestBodiesLabel = "requestBodies"
|
|
ResponsesLabel = "responses"
|
|
CallbacksLabel = "callbacks"
|
|
ContentLabel = "content"
|
|
PathsLabel = "paths"
|
|
WebhooksLabel = "webhooks"
|
|
JSONSchemaDialectLabel = "jsonSchemaDialect"
|
|
GetLabel = "get"
|
|
PostLabel = "post"
|
|
PatchLabel = "patch"
|
|
PutLabel = "put"
|
|
DeleteLabel = "delete"
|
|
OptionsLabel = "options"
|
|
HeadLabel = "head"
|
|
TraceLabel = "trace"
|
|
LinksLabel = "links"
|
|
DefaultLabel = "default"
|
|
SecurityLabel = "security"
|
|
SecuritySchemesLabel = "securitySchemes"
|
|
OAuthFlowsLabel = "flows"
|
|
VariablesLabel = "variables"
|
|
ServersLabel = "servers"
|
|
ServerLabel = "server"
|
|
ImplicitLabel = "implicit"
|
|
PasswordLabel = "password"
|
|
ClientCredentialsLabel = "clientCredentials"
|
|
AuthorizationCodeLabel = "authorizationCode"
|
|
DescriptionLabel = "description"
|
|
URLLabel = "url"
|
|
NameLabel = "name"
|
|
EmailLabel = "email"
|
|
TitleLabel = "title"
|
|
TermsOfServiceLabel = "termsOfService"
|
|
VersionLabel = "version"
|
|
LicenseLabel = "license"
|
|
ContactLabel = "contact"
|
|
NamespaceLabel = "namespace"
|
|
PrefixLabel = "prefix"
|
|
AttributeLabel = "attribute"
|
|
WrappedLabel = "wrapped"
|
|
PropertyNameLabel = "propertyName"
|
|
SummaryLabel = "summary"
|
|
ValueLabel = "value"
|
|
ExternalValue = "externalValue"
|
|
SchemaDialectLabel = "$schema"
|
|
ExclusiveMaximumLabel = "exclusiveMaximum"
|
|
ExclusiveMinimumLabel = "exclusiveMinimum"
|
|
TypeLabel = "type"
|
|
MultipleOfLabel = "multipleOf"
|
|
MaximumLabel = "maximum"
|
|
MinimumLabel = "minimum"
|
|
MaxLengthLabel = "maxLength"
|
|
MinLengthLabel = "minLength"
|
|
PatternLabel = "pattern"
|
|
FormatLabel = "format"
|
|
MaxItemsLabel = "maxItems"
|
|
MinItemsLabel = "minItems"
|
|
UniqueItemsLabel = "uniqueItems"
|
|
MaxPropertiesLabel = "maxProperties"
|
|
MinPropertiesLabel = "minProperties"
|
|
RequiredLabel = "required"
|
|
EnumLabel = "enum"
|
|
SchemaLabel = "schema"
|
|
NotLabel = "not"
|
|
ItemsLabel = "items"
|
|
PropertiesLabel = "properties"
|
|
AllOfLabel = "allOf"
|
|
AnyOfLabel = "anyOf"
|
|
OneOfLabel = "oneOf"
|
|
AdditionalPropertiesLabel = "additionalProperties"
|
|
ContentEncodingLabel = "contentEncoding"
|
|
ContentMediaType = "contentMediaType"
|
|
NullableLabel = "nullable"
|
|
ReadOnlyLabel = "readOnly"
|
|
WriteOnlyLabel = "writeOnly"
|
|
XMLLabel = "xml"
|
|
DeprecatedLabel = "deprecated"
|
|
ExampleLabel = "example"
|
|
RefLabel = "$ref"
|
|
)
|