Module: Scorpio::OpenAPI::V2::Document

Includes:
Document, Configurables
Defined in:
lib/scorpio/openapi/document.rb,
lib/scorpio/openapi.rb

Overview

A document that defines or describes an API conforming to the OpenAPI Specification v2 (aka Swagger).

The root document is known as the Swagger Object.

Defined Under Namespace

Modules: Configurables

Instance Attribute Summary

Attributes included from Configurables

#base_url, #request_media_type, #scheme

Attributes included from Document::Configurables

#faraday_adapter, #faraday_builder, #logger, #request_headers, #user_agent

Method Summary

Methods included from Configurables

#server, #server_variables

Methods included from Document

from_instance, #operations, #v2?, #v3?