Skip to content

Instantly share code, notes, and snippets.

@Gershon-A
Created May 2, 2023 17:24
Show Gist options
  • Save Gershon-A/2523c5835cf71cb536d5e270069b7f23 to your computer and use it in GitHub Desktop.
Save Gershon-A/2523c5835cf71cb536d5e270069b7f23 to your computer and use it in GitHub Desktop.
Kpng wildcard in route path

\d+ - only numbers .+ - any value
For example:
Api path like /v1/projects/{project-key}/test-runs/{test-run-key}/steps/{step-number}/attachments
in kong
/v1/projects/.+/test-runs/.+/steps/\d+/attachments$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment