Skip to content
Discussion options

You must be logged in to vote

@JASKevinWhite the docs are actually a very small static HTML page that dynamically loads the OpenAPI from your service. Check here:

https://github.com/danielgtaylor/huma/blob/main/api.go#L448-L470

You can copy that, and if you want can also download the OpenAPI from your service, point the static docs to the static OpenAPI, and you are good to go. You probably just want to update it on each release via some automated process if you can.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wolveix
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