@xtrape/capsule-contracts-node 0.1.0-public-review.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +48 -0
- package/NOTICE +4 -0
- package/README.md +295 -0
- package/dist/index.cjs +271 -0
- package/dist/index.d.cts +2741 -0
- package/dist/index.d.ts +2741 -0
- package/dist/index.js +179 -0
- package/package.json +63 -0
- package/spec/.source +1 -0
- package/spec/enums/audit-actions.json +213 -0
- package/spec/enums/id-prefixes.json +32 -0
- package/spec/enums/status-enums.json +128 -0
- package/spec/errors.json +128 -0
- package/spec/errors.md +166 -0
- package/spec/openapi/opstage-ce-v0.1.yaml +2085 -0
- package/spec/openapi/redocly.yaml +18 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
extends:
|
|
2
|
+
- recommended
|
|
3
|
+
|
|
4
|
+
rules:
|
|
5
|
+
# The CE v0.1 spec lists localhost in `servers` because the canonical
|
|
6
|
+
# deployment target is a single self-hosted container. Public hosts are
|
|
7
|
+
# configured per deployment and intentionally not part of the contract.
|
|
8
|
+
no-server-example.com: off
|
|
9
|
+
|
|
10
|
+
# Several read-only Admin and System GET endpoints rely on the global
|
|
11
|
+
# 4xx convention documented in `info.description` and
|
|
12
|
+
# `09-contracts/errors.md` rather than declaring 4xx responses inline.
|
|
13
|
+
# Mutating endpoints (POST/PUT/PATCH/DELETE) DO declare them explicitly.
|
|
14
|
+
operation-4xx-response: off
|
|
15
|
+
|
|
16
|
+
# `BadRequest` is retained as a standard reusable response component so
|
|
17
|
+
# individual operations can reference it later without rewriting the spec.
|
|
18
|
+
no-unused-components: off
|