amplify-category-api icon indicating copy to clipboard operation
amplify-category-api copied to clipboard

chore: allow adding underscore (_), colon (:), comma (,), and dot(.) for the path part and underscore (_) for path parameters in addition to a-z A-Z -

Open santoshniural opened this issue 1 year ago • 0 comments

Description of changes

Updated the regex for REST API path validation to conform with the specifications from the AWS API Gateway important notes. This change ensures that the API paths properly handle colons, commas, underscores, and dots in static segments without interpreting them as parameters.

CDK / CloudFormation Parameters Changed

N/A

Issue #, if available

N/A

Description of how you validated changes

Checklist

  • [x] PR description included
  • [x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

santoshniural avatar Jul 25 '24 14:07 santoshniural