Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::OpenApiSpecDetails.
OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#format
def format() -> ::Google::Cloud::ApiHub::V1::OpenApiSpecDetails::Format
Returns
- (::Google::Cloud::ApiHub::V1::OpenApiSpecDetails::Format) — Output only. The format of the spec.
#owner
def owner() -> ::Google::Cloud::ApiHub::V1::Owner
Returns
-
(::Google::Cloud::ApiHub::V1::Owner) — Output only. Owner details for the spec.
This maps to
info.contact
in OpenAPI spec.
#version
def version() -> ::String
Returns
-
(::String) — Output only. The version in the spec.
This maps to
info.version
in OpenAPI spec.