Skip to content

Commit 12024df

Browse files
committed
tmp
1 parent 19afcb3 commit 12024df

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

cmd/carapace-aws/cmd/botocore/aws.apigateway.put-method-response.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ flags:
55
--cli-input-yaml=: Read arguments from the YAML string provided
66
--generate-cli-skeleton: Prints a JSON skeleton to standard output without sending an API request
77
--http-method=!: The HTTP verb of the Method resource.
8+
--no-response-parameters: A key-value map specifying required or optional response parameters that API Gateway can send back to the caller.
89
--resource-id=!: The Resource identifier for the Method resource.
910
--response-models=: Specifies the Model resources used for the response's content type.
10-
--response-parameters=: A key-value map specifying required or optional response parameters that API Gateway can send back to the caller.
11+
--response-parameters: A key-value map specifying required or optional response parameters that API Gateway can send back to the caller.
1112
--rest-api-id=!: The string identifier of the associated RestApi.
1213
--status-code=!: The method response's status code.

cmd/carapace-aws/cmd/botocore/aws.apigateway.put-method.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ flags:
1010
--generate-cli-skeleton: Prints a JSON skeleton to standard output without sending an API request
1111
--http-method=!: Specifies the method request's HTTP method type.
1212
--no-api-key-required: Specifies whether the method required a valid ApiKey.
13+
--no-request-parameters: A key-value map defining required or optional method request parameters that can be accepted by API Gateway.
1314
--operation-name=: A human-friendly operation identifier for the method.
1415
--request-models=: Specifies the Model resources used for the request's content type.
15-
--request-parameters=: A key-value map defining required or optional method request parameters that can be accepted by API Gateway.
16+
--request-parameters: A key-value map defining required or optional method request parameters that can be accepted by API Gateway.
1617
--request-validator-id=: The identifier of a RequestValidator for validating the method request.
1718
--resource-id=!: The Resource identifier for the new Method resource.
1819
--rest-api-id=!: The string identifier of the associated RestApi.

cmd/carapace-spec-botocore/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,5 +247,5 @@ func parseService(name, folder string) command.Command {
247247
}
248248

249249
func isBoolean(s string) bool {
250-
return strings.HasSuffix(strings.ToLower(s), "boolean") || strings.HasSuffix(s, "AttributeBooleanValue")
250+
return (strings.HasSuffix(strings.ToLower(s), "boolean") && !strings.HasPrefix(strings.ToLower(s), "map")) || strings.HasSuffix(s, "AttributeBooleanValue")
251251
}

0 commit comments

Comments
 (0)