Skip to content

How to deal with large APIs #208

Answered by juhaku
Sytten asked this question in Q&A
Jul 4, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

That is something probably needs some engineering effort to get right. Currently there is no "by the book" answer to this and it probably is something to be experimented. Keeping modules tidy by not exposing everything to the whole world would be ideal though I'm afraid that at the moment isolating modules completely is not possible. I've had a plan to actually write a larger example with acitx-web but so far the priority has been in the library itself.

Since the OpenApi derive macro need to be aware of the components and paths the OpenAPI doc will be generated from at compile time it must have access to the types and handlers. Also at the moment there is no way to compose OpenAPI doc fro…

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

Answer selected by Sytten
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