OpenAPI 3 Parser
This is a parser/validator for Open API 3 built in Ruby.
require "openapi3_parser" document = .("path/to/example.yaml") # check whether document is valid document.valid? # traverse document document.paths["/"]
Documentation for the API to navigate the OpenAPI nodes is available on rubydoc.info.
You can install this gem into your bundler application by adding this line to your Gemfile:
gem "openapi3_parser", "~> 0.2.0"
and then running
$ bundle install
Or install the gem onto your machine via
$ gem install openapi3_parser
This is currently a work in progress and will remain so until it reaches 1.0.
See TODO for details of the roadmap there.