Commit Graph

29 Commits

Author SHA1 Message Date
dbaa0089b6 generate endpoint metadata only for http server
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-15 01:10:59 +03:00
388a58d998 replace map
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-02-22 00:05:54 +03:00
71ad836e06 micro api cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-02-14 00:22:35 +03:00
83b6567d3e allow to catch response headers
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-11-15 12:53:04 +03:00
a2fea36f50 fix drpc method name in generator
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-03-20 15:08:04 +03:00
378c00c16d support message reference
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-03-19 15:13:34 +03:00
d63381e584 improve openapi support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-02-18 00:54:47 +03:00
f814b489db update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-27 15:29:48 +03:00
2ec1af2884 add support for cookie and header variables
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-24 00:52:39 +03:00
506f19310f some fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-23 23:21:10 +03:00
59ee7bc1de update to never micro-proto, generate openapi
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-23 02:55:43 +03:00
5d13b84c7a add micro.codec.Frame special type handling
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-31 20:39:56 +03:00
dd62c380f2 lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-20 23:03:11 +03:00
140c5fb90a update to latest micro-protoc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-16 23:34:32 +03:00
b4231422b3 add ServiceName variable
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-14 13:49:37 +03:00
dd872a03b3 use plain struct for endpoints
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-06-23 00:23:38 +03:00
fcd8dd1f7c minor changes for generator
* allow to split client and server generation
* allow to override options for handler

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 15:00:55 +03:00
c7ec840ac0 remove some runtime allocaions
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-23 16:56:11 +03:00
bce3839877 fix http client generation without openapiv2 annotation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-19 13:00:00 +03:00
298f123492 extract variables to dedicated file
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-28 23:42:00 +03:00
254448bf74 add client request timeout option support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-28 01:42:29 +03:00
7b349ba1ca update micro-proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-28 00:38:57 +03:00
477a69fe6a use micro-proto repo
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-27 19:36:48 +03:00
9f2dd3ed35 allow to generate standalone code
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 14:44:50 +03:00
2dc9459eb8 complete fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
6b8fa89a69 use helper to detect import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
fc763a645d fix streaming methods
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 18:45:03 +03:00
a974da658b generate error types for http
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:30:23 +03:00
e18a0f6942 complete
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 03:04:56 +03:00