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>
This commit is contained in:
2026-02-09 13:29:42 +00:00
committed by zuul
parent ac787f42f1
commit c750d15f42
3 changed files with 151 additions and 0 deletions

File diff suppressed because it is too large Load Diff

11
.spectral.yaml Normal file
View File

@ -0,0 +1,11 @@
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]*$"

17
.yamllint Normal file
View File

@ -0,0 +1,17 @@
# .yamllint
extends: default
yaml-files:
- '*.yaml'
- '*.yml'
rules:
line-length:
max: 120
level: warning
indentation:
spaces: 2 # number of spaces per indent level
indent-sequences: consistent # or true/false/whatever
level: error
document-start:
level: warning