Skip to content
Discussion options

You must be logged in to vote

It's certainly possible, though there's no out-of-the-box solution. Perhaps the closest thing might be to take a look at the documentation for Spectre.Console: https://github.com/spectreconsole/spectre.console/tree/main/docs. It's not documenting an OpenAPI file or anything like that, but it is generating some bespoke documentation from a custom source. That might be a good starting point.

In general the way I'd go about this if it were me is to write a custom module that reads the OpenAPI JSON file and outputs documents for each "symbol" (or maybe API endpoint?). Then you can write layouts, etc. that rely on the documents output from that module.

Sorry I don't have a more specific answer…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@askrinnik
Comment options

Answer selected by askrinnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants