Skip to content

Conversation

@adrianlyjak
Copy link
Contributor

Add a script to generate Markdown reference docs for the workflows server API from its OpenAPI schema.


Linear Issue: LI-3952

Open in Cursor Open in Web

cursoragent and others added 2 commits October 24, 2025 12:14
Introduce scripts/generate_server_reference_docs.py to transform the server OpenAPI schema into Markdown under docs/src/content/docs/workflows-api-reference. This enables publishing a browsable API reference in the Astro docs without adding new runtime deps. Also add Hatch scripts (server:reference, server:reference-all) to generate the OpenAPI and docs in one step.
@cursor
Copy link

cursor bot commented Oct 24, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coveralls
Copy link

coveralls commented Oct 24, 2025

Pull Request Test Coverage Report for Build 18797091520

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 89.552%

Totals Coverage Status
Change from base Build 18753664779: 0.0%
Covered Lines: 1937
Relevant Lines: 2163

💛 - Coveralls

- Make render_schema accept object and coerce to JSON-serializable types
- Adjust resolve_ref return type to object
- Remove unused op_id to satisfy lint
…ference

Pre-commit was fixing end-of-file and formatting on the generated index.md. The generator now guarantees a trailing newline and the docs were regenerated.
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.

4 participants