Skip to content

[codex] release openapi v2.0.0 docs-aligned refresh - #1

Merged
neeraj-wokelo merged 1 commit into
mainfrom
codex/openapi-v2-docs-refresh
Apr 28, 2026
Merged

neeraj-wokelo merged 1 commit into
mainfrom
codex/openapi-v2-docs-refresh

Conversation

@neeraj-wokelo

Copy link
Copy Markdown
Collaborator

What changed

  • replace the legacy 17-endpoint canonical spec with the current docs-authoritative Wokelo API spec
  • publish a 2.0.0 canonical openapi.yaml with 22 unique OpenAPI operations across 6 tags
  • replace the old 12 grouped sources/ files with 26 standalone capability specs, one per official docs page
  • regenerate dist/wokelo-openapi.yaml and dist/index.html from the new canonical spec
  • update repository metadata and docs to describe the new master-plus-capability layout and 2.0.0 release

Why this is a major version

The previously published repo exposed two direct primer endpoints:

  • POST /api/company_primer/v3/start/
  • POST /api/industry_primer/v3/start/

The refreshed spec now follows the current official Wokelo docs corpus and Postman collection, which model workflow initiation through the current capability set instead. Because the public canonical spec's endpoint set changes, this is versioned as 2.0.0.

Design details

  • POST /api/workflow_manager/start/ is merged in the master spec with discriminator-based variants for company research, industry research, peer comparison, and custom workflows
  • POST /api/enterprise/company/enrich/ is merged in the master spec with discriminator-based variants for instant enrichment and deep intelligence
  • the standalone capability specs keep the real server paths and narrow only the request schema per capability

Validation

  • npm ci
  • npm run lint
  • npm run build
  • openapi-spec-validator against openapi.yaml and all 26 files in sources/

Notes

  • Redocly still reports 16 advisory operation-4xx-response warnings on endpoints where the official docs do not declare explicit 4xx responses. These are warnings only; the spec validates and builds successfully.

@neeraj-wokelo
neeraj-wokelo merged commit 974bdcd into main Apr 28, 2026
2 checks passed
@neeraj-wokelo
neeraj-wokelo deleted the codex/openapi-v2-docs-refresh branch April 28, 2026 04:53
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