SwaggerParser
Note
This project is archived because I no longer actively use it, and there seems to be no recent activity from other users either. If you are still using it and would like to take over maintenance, please contact me somewhere.
Swagger schema parser.
Usage
require "swagger_parser"
swagger = SwaggerParser::FileParser.parse("examples/swagger.yml")
swagger.base_path #=> "/v2"
swagger.host #=> "petstore.swagger.io"