Commit Graph

63 Commits

Author SHA1 Message Date
f6cfb2de1e avoid panic on empty swagger info element
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-11-25 23:10:54 +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
a63ea1ec4d fix import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-23 23:34:05 +03:00
74fecbec12 cleanup deps
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-23 23:30:16 +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
github-actions[bot]
763ca7ff90
Merge pull request #23 from unistack-org/dependabot/github_actions/actions/github-script-5
Bump actions/github-script from 4 to 5
2021-09-27 15:27:45 +00:00
dependabot[bot]
af4f014e20
Bump actions/github-script from 4 to 5
Bumps [actions/github-script](https://github.com/actions/github-script) from 4 to 5.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 15:26:58 +00:00
4329841a0b update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-21 21:48:24 +03:00
452b8de530 update workflows
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-17 07:49:57 +03:00
db8b8dbdd2 enable automerge
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-16 11:08:29 +03:00
dependabot[bot]
c69b0656a4
Bump github.com/unistack-org/micro-proto from 0.0.8 to 0.0.9 (#22) 2021-09-06 14:51:43 +00:00
3512d60b3a add github stuff
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-06 15:28:24 +03:00
2112172891 add github stuff
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-06 10:37:30 +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
ee4d83458f fix tag for nested messages
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-31 19:40:20 +03:00
dd62c380f2 lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-20 23:03:11 +03:00
e4f2867419 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-17 00:58:23 +03:00
c5f68efd4c update with never micro-proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-17 00:10:01 +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
0e902b1022 update
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-06-22 01:34:46 +03:00
81bbbf55e6 change name, add comment
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-06-22 01:34:06 +03:00
c6caa0d3ac tag fix
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-18 14:03:21 +03:00
5ecc4986dd dont tag if tag_path is empty
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-11 09:07:12 +03:00
9ed1ca9a89 add info to readme
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-08 12:53:14 +03:00
805b52cf8d add tags example
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-08 12:46:02 +03:00
d41fa1a64f add tag support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-08 00:06:40 +03:00
f69088bd27 fallback to generate client and server
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-30 18:30:58 +03:00
be4eac21df fix example
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 16:04:08 +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
Renovate Bot
4d2af78ba7 Update module google.golang.org/protobuf to v1.26.0 2021-03-19 03:24:49 +00: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
Renovate Bot
5ee7c4f231 Update google.golang.org/genproto commit hash to ab064af 2021-02-26 20:45:59 +00:00
Renovate Bot
4ce41519a3 Update all deps 2021-02-25 23:28:34 +00:00
5b1f63dc98 support proto3 optional
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 22:11:08 +03:00
142f6dd866 grpc is not generic in micro, so name component as rpc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 14:51:18 +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
Renovate Bot
8e89b899d8 Update google.golang.org/genproto commit hash to 063164c 2021-02-24 19:47:20 +00:00
2dc9459eb8 complete fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
b2f5437d6e fixup gorilla
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
b002cbb491 fixup imports
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