Sha256: f7993e3433785afe09e9c608fc8bf1eedcc9affd77ff1acb4c7fa5168e70b1b5

Contents?: true

Size: 932 Bytes

Versions: 36

Compression:

Stored size: 932 Bytes

Contents

# TODO: examples
# TODO: securitySchemes
# TODO: links
# TODO: callbacks

module OpenAPIParser::Schemas
  class Components < Base
    # @!attribute [r] parameters
    #   @return [Hash{String => Parameter}, nil]
    openapi_attr_hash_object :parameters, Parameter, reference: true

    # @!attribute [r] parameters
    #   @return [Hash{String => Parameter}, nil]
    openapi_attr_hash_object :schemas, Schema, reference: true

    # @!attribute [r] responses
    #   @return [Hash{String => Response}, nil]
    openapi_attr_hash_object :responses, Response, reference: true

    # @!attribute [r] request_bodies
    #   @return [Hash{String => RequestBody}, nil]
    openapi_attr_hash_object :request_bodies, RequestBody, reference: true, schema_key: :requestBodies

    # @!attribute [r] headers
    #   @return [Hash{String => Header}, nil] header objects
    openapi_attr_hash_object :headers, Header, reference: true
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
openapi_parser-2.2.3 lib/openapi_parser/schemas/components.rb
openapi_parser-2.2.2 lib/openapi_parser/schemas/components.rb
openapi_parser-2.2.1 lib/openapi_parser/schemas/components.rb
openapi_parser-2.2.0 lib/openapi_parser/schemas/components.rb
openapi_parser-2.1.0 lib/openapi_parser/schemas/components.rb
openapi_parser-2.0.0 lib/openapi_parser/schemas/components.rb
openapi_parser-1.0.0 lib/openapi_parser/schemas/components.rb
openapi_parser-1.0.0.beta1 lib/openapi_parser/schemas/components.rb
openapi_parser-0.15.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.14.1 lib/openapi_parser/schemas/components.rb
openapi_parser-0.14.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.13.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.12.1 lib/openapi_parser/schemas/components.rb
openapi_parser-0.12.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.11.2 lib/openapi_parser/schemas/components.rb
openapi_parser-0.11.1 lib/openapi_parser/schemas/components.rb
openapi_parser-0.11.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.10.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.9.0 lib/openapi_parser/schemas/components.rb
openapi_parser-0.8.0 lib/openapi_parser/schemas/components.rb