Import documentation parts
apigateway_import_documentation_parts(restApiId, mode, failOnWarnings,
body)
[required] [Required] The string identifier of the associated RestApi.
A query parameter to indicate whether to overwrite (OVERWRITE
) any
existing DocumentationParts definition or to merge (MERGE
) the new
definition into the existing one. The default value is MERGE
.
A query parameter to specify whether to rollback the documentation
importation (true
) or not (false
) when a warning is encountered. The
default value is false
.
[required] [Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.
A list with the following syntax:
list( ids = list( "string" ), warnings = list( "string" ) )
svc$import_documentation_parts( restApiId = "string", mode = "merge"|"overwrite", failOnWarnings = TRUE|FALSE, body = raw )