Module: Swagger::V2

Defined in:
lib/swagger/v2/api.rb,
lib/swagger/v2/tag.rb,
lib/swagger/v2/info.rb,
lib/swagger/v2/path.rb,
lib/swagger/v2/header.rb,
lib/swagger/v2/example.rb,
lib/swagger/v2/response.rb,
lib/swagger/v2/parameter.rb,
lib/swagger/v2/operation.rb,
lib/swagger/v2/security_scheme.rb,
lib/swagger/v2/security_requirement.rb,
lib/swagger/v2/deterministic_json_schema.rb

Overview

Module containing classes that handle version 2 of the Swagger specification.

Defined Under Namespace

Modules: DeterministicJSONSchema Classes: API, Example, Header, Info, Operation, Parameter, Path, Response, SecurityRequirement, SecurityScheme, Tag

Constant Summary collapse

SWAGGER_SCHEMA =
File.expand_path 'schemas/swagger/v2.0/schema.json', Swagger::RESOURCES_DIR
JSON_SCHEMA =
File.expand_path 'schemas/json_schema/draft-04.json', Swagger::RESOURCES_DIR