@meith/api 0.21.1 → 0.22.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/reference.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meith/api",
3
- "version": "0.21.1",
3
+ "version": "0.22.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,6 +19,6 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@meith/core": "0.21.1"
22
+ "@meith/core": "0.22.0"
23
23
  }
24
24
  }
package/src/reference.ts CHANGED
@@ -58,7 +58,7 @@ export function renderReference(document: OpenApiDocument): string {
58
58
  ' Written by scripts/api-docs.mts from the OpenAPI document the board serves,',
59
59
  ' which is itself generated from packages/api/src/{routes,schema,tokens}.ts. Run',
60
60
  ' `pnpm api:docs` after changing any of them; `pnpm verify` and CI run',
61
- ' `pnpm api:docs:check` and fail when this file, docs/openapi.json and the code',
61
+ ' `pnpm api:docs:check` and fail when this file, docs/reference/openapi.json and the code',
62
62
  ' disagree.',
63
63
  '-->',
64
64
  '',
@@ -66,7 +66,7 @@ export function renderReference(document: OpenApiDocument): string {
66
66
  '',
67
67
  'The machine-readable form of everything below — request and response schemas,',
68
68
  'parameters, status codes, scopes and rate-limit costs — is the OpenAPI 3 document',
69
- 'at [`docs/openapi.json`](openapi.json), which a board also serves live at',
69
+ 'at [`docs/reference/openapi.json`](openapi.json), which a board also serves live at',
70
70
  '`/api/v1/openapi.json`. Point a generator at that rather than reading this table',
71
71
  'into code.',
72
72
  '',