Files
doc-exports/.spectral.yaml
Hasko, Vladimir c750d15f42 addding openapi for AS
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2026-02-09 13:29:42 +00:00

12 lines
334 B
YAML

rules:
path-starts-with-slash-no-spaces:
description: Path must start with / and contain no spaces
message: "Path '{{property}}' must start with '/' and must not contain spaces"
severity: error
given: $.paths
then:
field: "@key"
function: pattern
functionOptions:
match: "^\\/[^\\s]*$"