Skip to content

Commit

Permalink
feat(action): update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronnie committed Jul 24, 2024
1 parent 24f8fbd commit de97a0e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:

- uses: ./
with:
args: version
args: gen sdk --module github.com/jzero/test -d test
21 changes: 21 additions & 0 deletions desc/api/version.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

syntax = "v1"

type Empty {}

type Version {
Version string `json:"version"`
GoVersion string `json:"goVersion"`
Commit string `json:"commit"`
Date string `json:"date"`
}

@server (
prefix: /api/v1
group: version
)
service ntls {
@handler GetHandler
get /version (Empty) returns (Version)
}

0 comments on commit de97a0e

Please sign in to comment.