Sha256: 09c24c6ac1d69f7d5ff3452adcbd0f540e51055497079e93dfcd2fedb6b35933
Contents?: true
Size: 695 Bytes
Versions: 25
Compression:
Stored size: 695 Bytes
Contents
require 'time' require 'openapi_parser/version' require 'openapi_parser/config' require 'openapi_parser/errors' require 'openapi_parser/concern' require 'openapi_parser/schemas' require 'openapi_parser/path_item_finder' require 'openapi_parser/request_operation' require 'openapi_parser/schema_validator' require 'openapi_parser/parameter_validator' require 'openapi_parser/reference_expander' module OpenAPIParser class << self # @return [OpenAPIParser::Schemas::OpenAPI] def parse(schema, config = {}) c = Config.new(config) root = Schemas::OpenAPI.new(schema, c) OpenAPIParser::ReferenceExpander.expand(root) if c.expand_reference root end end end
Version data entries
25 entries across 25 versions & 1 rubygems