-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
jzero new simpleapi --frame api -m foo
cd simpleapi
jzero gen
go mod tidy
jzero new simpleplugin --frame api --serverless --mono
cd plugins/simpleplugin
jzero add api aa/bb/cc错误信息:
$ jzero add api aa/bb/cc
Error: simpleplugin 16:11 syntax error: expected '{', got '/'api文件:
syntax = "v1"
info (
go_package: "aa/bb/cc"
)
type CreateRequest {}
type CreateResponse {}
@server (
prefix: /api/aa/bb/cc
group: aa/bb/cc
compact_handler: true
)
service aa/bb/cc {
@handler Create
post / (CreateRequest) returns (CreateResponse)
}
service aa/bb/cc 应该替换为 plugins名
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working