Closed agraebe closed 3 years ago
To be clear, this only impacts the proxied v2/*
endpoints, not all RPC endpoints, right?
yes - the ones we documented already, but manually
openapi-to-postman
looks good.openapi-generator
to get markdown for docs seems like an easy win.$ref
but still seems pretty easy. The main concern here is versioning. Right now, the API would probably need to pin the external OpenAPI file to a specific commit hash, because the stacks-node and API repos are not always in perfect sync in regards to the APIs being used.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Please reopen if needed.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Status quo We have multiple API docs for RPC endpoints - all of which are managed manually and by different individuals:
The current state is resulting in inconsistencies - maybe there is a better way?
Proposal We could do the following:
$ref
feature inside the API repo to pull in RPC endpoint docs. The other endpoints will be documented as previouslyWith this solution, we have only one source of truth for RPC docs and one source of truth for all API docs. Thoughts?