diff --git a/openapi/definitions.yaml b/openapi/definitions.yaml index 18952ea5..0091a0a4 100644 --- a/openapi/definitions.yaml +++ b/openapi/definitions.yaml @@ -1595,8 +1595,8 @@ Ulid: format: Ulid x-import: '@pagopa/ts-commons/lib/strings' example: 01ARZ3NDEKTSV4RRFFQ69G5FAV -UrlSafeServiceId: +PathTraversalSafePathParam: description: - A non empty string that is safe to be used in an url parameter + A non empty string that is safe to be used in an url parameter to avoid path traversal attacks type: string - pattern: "^[0-9a-zA-Z\\-]+$" \ No newline at end of file + pattern: "^[0-9a-zA-Z\\-\\._\\/+]+$" \ No newline at end of file