SwaggerParser
Swagger schema parser.
Usage
require "swagger_parser"
swagger = SwaggerParser::FileParser.parse("examples/swagger.yml")
swagger.base_path #=> "/v2"
swagger.host #=> "petstore.swagger.io"
Project
Swagger schema parser.
require "swagger_parser"
swagger = SwaggerParser::FileParser.parse("examples/swagger.yml")
swagger.base_path #=> "/v2"
swagger.host #=> "petstore.swagger.io"