Module: Swagger::V2

Defined in:
lib/swagger/v2/info.rb,
lib/swagger/v2/path.rb,
lib/swagger/v2/example.rb,
lib/swagger/v2/response.rb,
lib/swagger/v2/parameter.rb,
lib/swagger/v2/api_operation.rb,
lib/swagger/v2/api_declaration.rb

Defined Under Namespace

Classes: APIDeclaration, APIOperation, Example, Info, Parameter, Path, Response

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