Skip to content

docs: sync SAT OpenAPI spec into api-docs and repair spec-lint CI#27

Merged
dmchaledev merged 1 commit into
mainfrom
claude/api-docs-sync-specs-8bs0es
Jun 26, 2026
Merged

docs: sync SAT OpenAPI spec into api-docs and repair spec-lint CI#27
dmchaledev merged 1 commit into
mainfrom
claude/api-docs-sync-specs-8bs0es

Conversation

@dmchaledev

Copy link
Copy Markdown
Contributor

Bring the documentation repo up to date with the canonical API specs
maintained in the source repositories:

  • Add sat/openapi.yaml, copied verbatim from hailbytes-sat's canonical
    docs/openapi.yaml (33 paths / 52 operations / 27 schemas). The repo was
    previously missing the SAT spec entirely (README marked it "coming soon").
  • Render both ASM and SAT references on the GitHub Pages site via a tab
    switcher in docs/index.html (Redoc.init), and publish sat-openapi.yaml
    from the deploy workflow.
  • Repair validate-openapi.yml: --ruleset spectral:oas is not a valid
    reference in spectral-cli 6.x, so the lint job had been erroring on every
    run ("Could not read ruleset"). Add a committed .spectral.yaml that
    extends spectral:oas and gate at --fail-severity error, mirroring the
    hailbytes-sat repo's lint policy (warnings advisory; the SAT API's
    intentional trailing-slash paths trip an advisory rule but are correct).
  • Add descriptions to the ASM listTags/createTag operations, clearing the
    only two remaining advisories on that spec.

ASM has no committed OpenAPI document to sync from — its API is served live
via drf_yasg swagger and the curated asm/openapi.yaml is itself the public
source of truth, so it only needed the lint-driven touch-ups above.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01XhcxNP5sPjDwqE5Au8sXYK

Bring the documentation repo up to date with the canonical API specs
maintained in the source repositories:

- Add sat/openapi.yaml, copied verbatim from hailbytes-sat's canonical
  docs/openapi.yaml (33 paths / 52 operations / 27 schemas). The repo was
  previously missing the SAT spec entirely (README marked it "coming soon").
- Render both ASM and SAT references on the GitHub Pages site via a tab
  switcher in docs/index.html (Redoc.init), and publish sat-openapi.yaml
  from the deploy workflow.
- Repair validate-openapi.yml: `--ruleset spectral:oas` is not a valid
  reference in spectral-cli 6.x, so the lint job had been erroring on every
  run ("Could not read ruleset"). Add a committed .spectral.yaml that
  extends spectral:oas and gate at --fail-severity error, mirroring the
  hailbytes-sat repo's lint policy (warnings advisory; the SAT API's
  intentional trailing-slash paths trip an advisory rule but are correct).
- Add descriptions to the ASM listTags/createTag operations, clearing the
  only two remaining advisories on that spec.

ASM has no committed OpenAPI document to sync from — its API is served live
via drf_yasg swagger and the curated asm/openapi.yaml is itself the public
source of truth, so it only needed the lint-driven touch-ups above.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XhcxNP5sPjDwqE5Au8sXYK
@dmchaledev dmchaledev merged commit e385106 into main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants