Class: Aws::APIGateway::Types::DocumentationVersion

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

A snapshot of the documentation of an API.

<div class=“remarks” markdown=“1”> Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.

</div>

<div class=“seeAlso”> [Documenting an API], DocumentationPart, DocumentationVersions </div>

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html

Instance Attribute Summary collapse

Instance Attribute Details

#created_dateTime

The date when the API documentation snapshot is created.

Returns:

  • (Time)


2281
2282
2283
2284
2285
2286
# File 'lib/aws-sdk-apigateway/types.rb', line 2281

class DocumentationVersion < Struct.new(
  :version,
  :created_date,
  :description)
  include Aws::Structure
end

#descriptionString

The description of the API documentation snapshot.

Returns:

  • (String)


2281
2282
2283
2284
2285
2286
# File 'lib/aws-sdk-apigateway/types.rb', line 2281

class DocumentationVersion < Struct.new(
  :version,
  :created_date,
  :description)
  include Aws::Structure
end

#versionString

The version identifier of the API documentation snapshot.

Returns:

  • (String)


2281
2282
2283
2284
2285
2286
# File 'lib/aws-sdk-apigateway/types.rb', line 2281

class DocumentationVersion < Struct.new(
  :version,
  :created_date,
  :description)
  include Aws::Structure
end