micro-contracts 0.17.19 → 0.17.20

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/README.md CHANGED
@@ -205,7 +205,7 @@ project/
205
205
  | Extension | Type | Description |
206
206
  |-----------|------|-------------|
207
207
  | `x-micro-contracts-published` | boolean | Include in `contract-published` (compatibility SLA) |
208
- | `x-micro-contracts-non-exportable` | boolean | Mark as non-exportable (fails if used in published endpoints) |
208
+ | `x-micro-contracts-non-exportable` | boolean | Operation- or schema-level. Linting fails when a published endpoint can reach it (`PUBLIC_ENDPOINT_NON_EXPORTABLE`) |
209
209
  | `x-micro-contracts-depend-on` | string[] | Explicit dependencies on other modules' published APIs |
210
210
  | `x-private` | boolean | Schema-level. A published endpoint that can reach it fails linting (`PUBLIC_ENDPOINT_PRIVATE_RESPONSE`) |
211
211
 
@@ -214,7 +214,8 @@ items, `additionalProperties`, `allOf`/`oneOf`/`anyOf`, `$ref` targets) and ever
214
214
  part of an operation that reaches a schema: request bodies, parameters and
215
215
  responses of any status code, including through `components.requestBodies`,
216
216
  `components.parameters` and `components.responses`. `contract-published` contains
217
- exactly what that same reachability finds, so nothing can ship unchecked.
217
+ exactly what that same reachability finds, so nothing can ship unchecked. The same
218
+ reachability enforces `x-micro-contracts-non-exportable`.
218
219
 
219
220
  ### Screen Spec Extensions
220
221
 
package/cli-contract.yaml CHANGED
@@ -3,7 +3,7 @@ cli_contracts: 0.1.0
3
3
 
4
4
  info:
5
5
  title: micro-contracts CLI
6
- version: 0.17.19
6
+ version: 0.17.20
7
7
  description: >-
8
8
  Contract-first OpenAPI toolchain for TypeScript Web/API systems.
9
9
  Generates contract packages, server routes, and frontend clients