HTTP client interface generation #336
StephanePaulus
started this conversation in
Ideas
Replies: 1 comment
-
If it is just switching annotations it will work. I haven't used the HttpExchange feature so I can't say if it is really that simple. Probably quite easy to implement a first version. We would only need a client annotation factory and an option to switch to client mode. Then, by trying to use it we would find out where adjustments are required. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to also add a flag to generate either server side API or client side API interface.
I think the class would just need different types of annotation:
On the interface:
@HttpExchange
and the methods@PostExchange
instead of@PostMapping
...Beta Was this translation helpful? Give feedback.
All reactions