Skip to content

The CRN pattern cannot be used because it is wrong #78

@mkrudele

Description

@mkrudele

Which topic are you reporting about?

https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-types#crn

What do you think needs to be updated?

The pattern proposed for the CRN in https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-types#crn cannot be implemented because it would block legal CRNs. The last segment of the CRN, the resource does not prohibit any character (see the docs https://cloud.ibm.com/docs/account?topic=account-crn), including the :, so the pattern would block CRNs whose resource segment includes a text with : in addition to any other character not included in the group: ([A-Za-z0-9-._~!$&'()*+,;=@/]|%[0-9A-Z]{2}).

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions