Class: Google::Cloud::ApiHub::V1::OpenApiSpecDetails

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/apihub/v1/common_fields.rb

Overview

OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails.

Defined Under Namespace

Modules: Format

Instance Attribute Summary collapse

Instance Attribute Details

#format::Google::Cloud::ApiHub::V1::OpenApiSpecDetails::Format (readonly)

Returns Output only. The format of the spec.

Returns:



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 802

class OpenApiSpecDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumeration of spec formats.
  module Format
    # SpecFile type unspecified.
    FORMAT_UNSPECIFIED = 0

    # OpenAPI Spec v2.0.
    OPEN_API_SPEC_2_0 = 1

    # OpenAPI Spec v3.0.
    OPEN_API_SPEC_3_0 = 2

    # OpenAPI Spec v3.1.
    OPEN_API_SPEC_3_1 = 3
  end
end

#owner::Google::Cloud::ApiHub::V1::Owner (readonly)

Returns Output only. Owner details for the spec. This maps to info.contact in OpenAPI spec.

Returns:



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 802

class OpenApiSpecDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumeration of spec formats.
  module Format
    # SpecFile type unspecified.
    FORMAT_UNSPECIFIED = 0

    # OpenAPI Spec v2.0.
    OPEN_API_SPEC_2_0 = 1

    # OpenAPI Spec v3.0.
    OPEN_API_SPEC_3_0 = 2

    # OpenAPI Spec v3.1.
    OPEN_API_SPEC_3_1 = 3
  end
end

#version::String (readonly)

Returns Output only. The version in the spec. This maps to info.version in OpenAPI spec.

Returns:

  • (::String)

    Output only. The version in the spec. This maps to info.version in OpenAPI spec.



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 802

class OpenApiSpecDetails
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enumeration of spec formats.
  module Format
    # SpecFile type unspecified.
    FORMAT_UNSPECIFIED = 0

    # OpenAPI Spec v2.0.
    OPEN_API_SPEC_2_0 = 1

    # OpenAPI Spec v3.0.
    OPEN_API_SPEC_3_0 = 2

    # OpenAPI Spec v3.1.
    OPEN_API_SPEC_3_1 = 3
  end
end