Module: Scorpio::OpenAPI::V3

Defined in:
lib/scorpio/openapi.rb,
lib/scorpio/openapi.rb,
lib/scorpio/openapi/document.rb,
lib/scorpio/openapi/operation.rb,
lib/scorpio/openapi/v3/server.rb

Overview

(this block is here just so the above informative comment is not interpreted as module doc)

Defined Under Namespace

Classes: Document, Operation, Server

Constant Summary collapse

Info =

naming these is not strictly necessary, but is nice to have. generated: puts Scorpio::OpenAPI::V3::Document.schema.select { |k,v| [‘object’, nil].include?(v) }.keys.map { |k| “#.upcase#Scorpio::OpenAPI::V3.1.1..-1 = openapi_class.call(‘definitions’, ‘#k’)” }

openapi_class.call('definitions', 'info')
Contact =
openapi_class.call('definitions', 'contact')
License =
openapi_class.call('definitions', 'license')
ServerVariable =
openapi_class.call('definitions', 'serverVariable')
Components =
openapi_class.call('definitions', 'components')
Paths =
openapi_class.call('definitions', 'paths')
PathItem =
openapi_class.call('definitions', 'pathItem')
ExternalDocs =
openapi_class.call('definitions', 'externalDocs')
Parameter =
openapi_class.call('definitions', 'parameter')
RequestBody =
openapi_class.call('definitions', 'requestBody')
MediaType =
openapi_class.call('definitions', 'mediaType')
Encoding =
openapi_class.call('definitions', 'encoding')
Responses =
openapi_class.call('definitions', 'responses')
Response =
openapi_class.call('definitions', 'response')
Callback =
openapi_class.call('definitions', 'callback')
Example =
openapi_class.call('definitions', 'example')
openapi_class.call('definitions', 'link')
Header =
openapi_class.call('definitions', 'header')
Tag =
openapi_class.call('definitions', 'tag')
Examples =
openapi_class.call('definitions', 'examples')
Reference =
openapi_class.call('definitions', 'reference')
Schema =
openapi_class.call('definitions', 'schema')
Discriminator =
openapi_class.call('definitions', 'discriminator')
Xml =
openapi_class.call('definitions', 'xml')
SecurityScheme =
openapi_class.call('definitions', 'securityScheme')
OauthFlows =
openapi_class.call('definitions', 'oauthFlows')
OauthFlow =
openapi_class.call('definitions', 'oauthFlow')
SecurityRequirement =
openapi_class.call('definitions', 'securityRequirement')
AnyOrExpression =
openapi_class.call('definitions', 'anyOrExpression')
CallbackOrReference =
openapi_class.call('definitions', 'callbackOrReference')
ExampleOrReference =
openapi_class.call('definitions', 'exampleOrReference')
HeaderOrReference =
openapi_class.call('definitions', 'headerOrReference')
LinkOrReference =
openapi_class.call('definitions', 'linkOrReference')
ParameterOrReference =
openapi_class.call('definitions', 'parameterOrReference')
RequestBodyOrReference =
openapi_class.call('definitions', 'requestBodyOrReference')
ResponseOrReference =
openapi_class.call('definitions', 'responseOrReference')
SchemaOrReference =
openapi_class.call('definitions', 'schemaOrReference')
SecuritySchemeOrReference =
openapi_class.call('definitions', 'securitySchemeOrReference')
AnysOrExpressions =
openapi_class.call('definitions', 'anysOrExpressions')
CallbacksOrReferences =
openapi_class.call('definitions', 'callbacksOrReferences')
Encodings =
openapi_class.call('definitions', 'encodings')
ExamplesOrReferences =
openapi_class.call('definitions', 'examplesOrReferences')
HeadersOrReferences =
openapi_class.call('definitions', 'headersOrReferences')
LinksOrReferences =
openapi_class.call('definitions', 'linksOrReferences')
MediaTypes =
openapi_class.call('definitions', 'mediaTypes')
ParametersOrReferences =
openapi_class.call('definitions', 'parametersOrReferences')
RequestBodiesOrReferences =
openapi_class.call('definitions', 'requestBodiesOrReferences')
ResponsesOrReferences =
openapi_class.call('definitions', 'responsesOrReferences')
SchemasOrReferences =
openapi_class.call('definitions', 'schemasOrReferences')
SecuritySchemesOrReferences =
openapi_class.call('definitions', 'securitySchemesOrReferences')
ServerVariables =
openapi_class.call('definitions', 'serverVariables')
Strings =
openapi_class.call('definitions', 'strings')
Object =
openapi_class.call('definitions', 'object')
Any =
openapi_class.call('definitions', 'any')
Expression =
openapi_class.call('definitions', 'expression')
SpecificationExtension =
openapi_class.call('definitions', 'specificationExtension')
DefaultType =
openapi_class.call('definitions', 'defaultType')