Skip to content

Commit

Permalink
Fixes templateId Regex in Submodel Registry
Browse files Browse the repository at this point in the history
Fixes Regex pattern in patch base extensions for the Submodel Registry to correctly handle templateIDs
  • Loading branch information
aaronzi authored Dec 8, 2024
1 parent ac705f5 commit 09fb94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basyx.submodelregistry/open-api/patch-base-extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
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])*$"
value: "^([\\x09\\x0a\\x0d\\x20-\\ud7ff\\ue000-\\ufffd]|\\ud800[\\udc00-\\udfff]|[\\ud801-\\udbfe][\\udc00-\\udfff]|\\udbff[\\udc00-\\udfff])*$"
## EmbeddedDataSpecification
- op: replace
path: /components/schemas/EmbeddedDataSpecification/properties/dataSpecificationContent/$ref
Expand Down

0 comments on commit 09fb94e

Please sign in to comment.