You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spectral/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,11 +92,12 @@ info:
92
92
93
93
### rhoas-path-regexp
94
94
95
-
All paths must match the specified regular expression: `\/api\/v.*\/.*$`.
95
+
All paths must match the specified regular expression: `\/api\/.*\/v.*\/?.*$`.
96
96
97
97
- The first segment must be `/api`
98
-
- The second segment must specify the API version. This can be a major version such as `v1` or a channel-version such as `v1beta`, `v1alpha`.
99
-
- All following segments must follow `snake_case` and can only contain alphabetical characters.
98
+
- The second segement denotes the service name (e.g. `/api/kafkas_mgmt`)
99
+
- The third segment must specify the API version. This can be a major version such as `v1` or a channel-version such as `v1beta`, `v1alpha`.
100
+
- All following segments must follow `snake_case` and can only contain alphabetical characters along and underscores but can be repeated (e.g. `/api/kafkas_mgmt/v1/kafkas/{id}/useful_metrics`)
0 commit comments