Sha256: f2adda3613d589a9768f8bc788a226b3c80718e89cd9ae29562bc3b72f06d204

Contents?: true

Size: 1.11 KB

Versions: 10

Compression:

Stored size: 1.11 KB

Contents

module OpenAPIParser
  def self.parse: (Hash[bot, bot] schema, ?Hash[bot, bot] config) -> OpenAPIParser::Schemas::OpenAPI
  def self.parse_with_filepath: (Hash[bot, bot] schema, String filepath, ?Hash[bot, bot] config) -> OpenAPIParser::Schemas::OpenAPI
  def self.load: (String filepath, ?Hash[bot, bot] config) -> OpenAPIParser::Schemas::OpenAPI
  def self.load_uri: (OpenAPIParser::readable_uri uri, config: untyped, schema_registry: Hash[bot, bot]) -> OpenAPIParser::Schemas::OpenAPI
  def self.file_uri: (String filepath) -> URI::Generic
  def self.parse_file: (String? content, String ext) -> Hash[bot, bot]
  def self.parse_yaml: (String? content) -> Hash[bot, bot]
  def self.parse_json: (String? content) -> Hash[bot, bot]
  def self.load_hash: (Hash[bot, bot] hash, config: untyped, uri: OpenAPIParser::readable_uri?, schema_registry: Hash[bot, bot]) -> OpenAPIParser::Schemas::OpenAPI
end

module OpenAPIParser
  module Schemas
    class OpenAPI
      def initialize: (Hash[bot, bot] hash, untyped config, uri: OpenAPIParser::readable_uri?, schema_registry: Hash[bot, bot]) -> OpenAPIParser::Schemas::OpenAPI
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
openapi_parser-2.2.4 sig/openapi_parser.rbs
openapi_parser-2.2.3 sig/openapi_parser.rbs
openapi_parser-2.2.2 sig/openapi_parser.rbs
openapi_parser-2.2.1 sig/openapi_parser.rbs
openapi_parser-2.2.0 sig/openapi_parser.rbs
openapi_parser-2.1.0 sig/openapi_parser.rbs
openapi_parser-2.0.0 sig/openapi_parser.rbs
openapi_parser_firetail-1.0.0 sig/openapi_parser.rbs
openapi_parser-1.0.0 sig/openapi_parser.rbs
openapi_parser-1.0.0.beta1 sig/openapi_parser.rbs