Files
libopenapi/datamodel/low/v3/constants.go
Dave Shanley 5189eadddc Large refactor and addedGetAllChanges to each change
tons of updates, so many things.
2023-03-26 06:10:31 -04:00

140 lines
5.4 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"
ExpressionLabel = "expression"
InfoLabel = "info"
SwaggerLabel = "swagger"
ParametersLabel = "parameters"
RequestBodyLabel = "requestBody"
RequestBodiesLabel = "requestBodies"
ResponsesLabel = "responses"
CallbacksLabel = "callbacks"
ContentLabel = "content"
PathsLabel = "paths"
PathLabel = "path"
WebhooksLabel = "webhooks"
JSONSchemaDialectLabel = "jsonSchemaDialect"
JSONSchemaLabel = "$schema"
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"
OpenAPILabel = "openapi"
HostLabel = "host"
BasePathLabel = "basePath"
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"
TagsLabel = "tags"
MultipleOfLabel = "multipleOf"
MaximumLabel = "maximum"
MinimumLabel = "minimum"
MaxLengthLabel = "maxLength"
MinLengthLabel = "minLength"
PatternLabel = "pattern"
FormatLabel = "format"
MaxItemsLabel = "maxItems"
ExamplesLabel = "examples"
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"
DiscriminatorLabel = "discriminator"
ExternalDocsLabel = "externalDocs"
InLabel = "in"
AllowEmptyValueLabel = "allowEmptyValue"
StyleLabel = "style"
CollectionFormatLabel = "collectionFormat"
AllowReservedLabel = "allowReserved"
ExplodeLabel = "explode"
ContentTypeLabel = "contentType"
SecurityDefinitionLabel = "securityDefinition"
Scopes = "scopes"
AuthorizationUrlLabel = "authorizationUrl"
TokenUrlLabel = "tokenUrl"
RefreshUrlLabel = "refreshUrl"
FlowLabel = "flow"
FlowsLabel = "flows"
SchemeLabel = "scheme"
OpenIdConnectUrlLabel = "openIdConnectUrl"
ScopesLabel = "scopes"
OperationRefLabel = "operationRef"
OperationIdLabel = "operationId"
CodesLabel = "codes"
ProducesLabel = "produces"
ConsumesLabel = "consumes"
SchemesLabel = "schemes"
IfLabel = "if"
ElseLabel = "else"
ThenLabel = "then"
PropertyNamesLabel = "propertyNames"
ContainsLabel = "contains"
MinContainsLabel = "minContains"
MaxContainsLabel = "maxContains"
UnevaluatedItemsLabel = "unevaluatedItems"
UnevaluatedPropertiesLabel = "unevaluatedProperties"
DependentSchemasLabel = "dependentSchemas"
PatternPropertiesLabel = "patternProperties"
)