Replies: 2 comments
-
LGTM, I think at least for query http handler, openapi is needed. I think @youngsofun has some ideas? |
Beta Was this translation helpful? Give feedback.
-
the problem with the HTTP handler is it is in fact not so restful, the endpoint itself is simple, the complicity lies in that client needs to know the "protocol " to use it. in addition, currently, we follow the presto API to export only one endpoint and hide many internal endpoints (via links), |
Beta Was this translation helpful? Give feedback.
-
If we use
poem-openapi
to implement all HTTP APIs, we can automatically generate beautiful documents and client library in any language.But if the current APIs is for internal use only, maybe there is no need to change it.
Beta Was this translation helpful? Give feedback.
All reactions