Updating resources according to instructions
This commit is contained in:
@ -18,9 +18,9 @@ var _ = Service("inventory", func() {
|
||||
Description("A GRPC back service that handles CRUD operations for the characters’ inventories")
|
||||
Method("listInventory", func() {
|
||||
Payload(func() {
|
||||
Field(1, "characterId", Int)
|
||||
Field(1, "characterName", String)
|
||||
})
|
||||
Result(ArrayOf(Int))
|
||||
Result(ArrayOf(String))
|
||||
|
||||
GRPC(func() {
|
||||
Response(CodeOK)
|
||||
|
Reference in New Issue
Block a user