Skip to content

[REQ][rust-server] Regex pattern validation for strings #10546

@Foorack

Description

@Foorack

Is your feature request related to a problem? Please describe.

Taking the following object as example:

    UserID:
      type: string
      title: UserID
      pattern: '[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}'

The server then allows invalid user ID's which are not compliant with the defined pattern.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions