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:



711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 711

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:



711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 711

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.



711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 711

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