Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: OpenAPI scaffolding for TM backend API specification and documentation #4608

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mikolajpp
Copy link
Collaborator

@mikolajpp mikolajpp commented Apr 3, 2025

This PR lays the foundation of TM API documentation. We use OpenAPI to define the specification of existing backend endpoints. Subsequently, the documentation can be generated with Redocly.

The API coverage so far is minimal and includes only a handful of endpoints of the %groups agent. This was enough to establish a general structure. The specification can now be expanded in the areas we consider most useful.

I have made an attempt at generating the spec using static code analysis of our Hoon codebase, but for this approach to be practical the code analyser would have to be made more powerful – other things take priority for now.

@mikolajpp mikolajpp changed the title api: OpenAPI scaffolding for documenting TM backend API api: OpenAPI scaffolding for TM backend API specification and documentation Apr 3, 2025
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.

1 participant