Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing version/revision pattern #121

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions basyx.aasregistry/open-api/patch-base-extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@
path: /components/schemas/AdministrativeInformation/allOf/1/properties/version/allOf
- op: add
path: /components/schemas/AdministrativeInformation/allOf/1/properties/version/pattern
value: "^(0|[1-9][0-9]{1,3})$"
value: "^(0|[1-9][0-9]{0,3})$"
- op: remove
path: /components/schemas/AdministrativeInformation/allOf/1/properties/revision/allOf
- op: add
path: /components/schemas/AdministrativeInformation/allOf/1/properties/revision/pattern
value: "^(0|[1-9][0-9]{1,3})$"
value: "^(0|[1-9][0-9]{0,3})$"
- op: replace
path: /components/schemas/AdministrativeInformation/allOf/1/properties/templateId/pattern
value: "^([\\t\\n\\r \\ud7ff\\ue000-\\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$"
Expand Down
6 changes: 3 additions & 3 deletions basyx.submodelregistry/open-api/patch-base-extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@
path: /components/schemas/AdministrativeInformation/allOf/1/properties/version/allOf
- op: add
path: /components/schemas/AdministrativeInformation/allOf/1/properties/version/pattern
value: "^(0|[1-9][0-9]{1,3})$"
value: "^(0|[1-9][0-9]{0,3})$"
- op: remove
path: /components/schemas/AdministrativeInformation/allOf/1/properties/revision/allOf
- op: add
path: /components/schemas/AdministrativeInformation/allOf/1/properties/revision/pattern
value: "^(0|[1-9][0-9]{1,3})$"
value: "^(0|[1-9][0-9]{0,3})$"
- op: replace
path: /components/schemas/AdministrativeInformation/allOf/1/properties/templateId/pattern
value: "^([\\t\\n\\r \\ud7ff\\ue000-\\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$"
Expand Down Expand Up @@ -242,4 +242,4 @@
- op: replace
path: /paths/~1description/get/tags
value:
- Submodel Registry
- Submodel Registry