Skip to content

Commit

Permalink
Merge pull request #5 from david-littlefarmer/master
Browse files Browse the repository at this point in the history
petStore example package update
  • Loading branch information
VojtechVitek authored Oct 22, 2023
2 parents 963065c + ce597c3 commit f134f1c
Show file tree
Hide file tree
Showing 7 changed files with 272 additions and 294 deletions.
2 changes: 1 addition & 1 deletion _examples/petStore/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ require (
github.com/sergi/go-diff v1.2.0 // indirect
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
github.com/src-d/gcfg v1.4.0 // indirect
github.com/webrpc/webrpc v0.12.1 // indirect
github.com/webrpc/webrpc v0.13.1 // indirect
github.com/xanzy/ssh-agent v0.3.2 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/mod v0.12.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions _examples/petStore/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ github.com/webrpc/webrpc v0.12.1-0.20230801165705-bbb62bb52b8f h1:K5xCTeoVUTcl71
github.com/webrpc/webrpc v0.12.1-0.20230801165705-bbb62bb52b8f/go.mod h1:DwRj+2Vd0r4sanozfosHdv4RYi8kALVyVvpBPYqeGDQ=
github.com/webrpc/webrpc v0.12.1 h1:L1PxRykmb6AyoOWjSsUjIhc3zwkAehx/DqGJ6nn0WUg=
github.com/webrpc/webrpc v0.12.1/go.mod h1:DwRj+2Vd0r4sanozfosHdv4RYi8kALVyVvpBPYqeGDQ=
github.com/webrpc/webrpc v0.13.1 h1:Umb9q3tYUS2JbTS1dNxfgEtX+jn1qEMandj1RDipydY=
github.com/webrpc/webrpc v0.13.1/go.mod h1:DwRj+2Vd0r4sanozfosHdv4RYi8kALVyVvpBPYqeGDQ=
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
github.com/xanzy/ssh-agent v0.3.2 h1:eKj4SX2Fe7mui28ZgnFW5fmTz1EIr7ugo5s6wDxdHBM=
github.com/xanzy/ssh-agent v0.3.2/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
Expand Down
68 changes: 41 additions & 27 deletions _examples/petStore/proto/client/petstore.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/petStore/proto/client/petstore.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable */
// PetStore vTODO 204f6b26587305ef3a4c043b8636035ada3889ef
// --
// Code generated by webrpc-gen@v0.13.0-dev with typescript generator. DO NOT EDIT.
// Code generated by webrpc-gen@v0.14.0-dev with typescript generator. DO NOT EDIT.
//
// gospeak .

Expand Down
65 changes: 55 additions & 10 deletions _examples/petStore/proto/petstore.debug.gen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,12 @@
}),
Optional: (bool) false,
InputArg: (bool) true,
OutputArg: (bool) false
OutputArg: (bool) false,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Outputs: ([]*schema.MethodArgument) (len=1 cap=2) {
Expand Down Expand Up @@ -1842,7 +1847,12 @@
}),
Optional: (bool) false,
InputArg: (bool) false,
OutputArg: (bool) true
OutputArg: (bool) true,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Service: (*schema.Service)(<already shown>)
Expand All @@ -1864,7 +1874,12 @@
}),
Optional: (bool) false,
InputArg: (bool) true,
OutputArg: (bool) false
OutputArg: (bool) false,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Outputs: ([]*schema.MethodArgument) (cap=1) {
Expand All @@ -1888,7 +1903,12 @@
}),
Optional: (bool) false,
InputArg: (bool) true,
OutputArg: (bool) false
OutputArg: (bool) false,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Outputs: ([]*schema.MethodArgument) (len=1 cap=2) {
Expand Down Expand Up @@ -2467,7 +2487,12 @@
}),
Optional: (bool) false,
InputArg: (bool) false,
OutputArg: (bool) true
OutputArg: (bool) true,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Service: (*schema.Service)(<already shown>)
Expand Down Expand Up @@ -3063,7 +3088,12 @@
}),
Optional: (bool) false,
InputArg: (bool) false,
OutputArg: (bool) true
OutputArg: (bool) true,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Service: (*schema.Service)(<already shown>)
Expand All @@ -3085,7 +3115,12 @@
}),
Optional: (bool) false,
InputArg: (bool) true,
OutputArg: (bool) false
OutputArg: (bool) false,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
}),
(*schema.MethodArgument)({
Name: (string) (len=6) "update",
Expand Down Expand Up @@ -3662,7 +3697,12 @@
}),
Optional: (bool) false,
InputArg: (bool) true,
OutputArg: (bool) false
OutputArg: (bool) false,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Outputs: ([]*schema.MethodArgument) (len=1 cap=2) {
Expand Down Expand Up @@ -4241,7 +4281,12 @@
}),
Optional: (bool) false,
InputArg: (bool) false,
OutputArg: (bool) true
OutputArg: (bool) true,
TypeExtra: (schema.TypeExtra) {
Optional: (bool) false,
Value: (string) "",
Meta: ([]schema.TypeFieldMeta) <nil>
}
})
},
Service: (*schema.Service)(<already shown>)
Expand All @@ -4253,7 +4298,7 @@
Deprecated_Messages: ([]interface {}) <nil>
}),
SchemaHash: (string) (len=40) "204f6b26587305ef3a4c043b8636035ada3889ef",
WebrpcGenVersion: (string) (len=11) "v0.13.0-dev",
WebrpcGenVersion: (string) (len=11) "v0.14.0-dev",
WebrpcGenCommand: (string) (len=9) "gospeak .",
WebrpcTarget: (string) (len=5) "debug",
WebrpcErrors: ([]*schema.Error) (len=8 cap=8) {
Expand Down
2 changes: 1 addition & 1 deletion _examples/petStore/proto/petstore.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PetStore vTODO 204f6b26587305ef3a4c043b8636035ada3889ef
# --
# Code generated by webrpc-gen@v0.13.0-dev with openapi generator; DO NOT EDIT
# Code generated by webrpc-gen@v0.14.0-dev with openapi generator; DO NOT EDIT
#
# gospeak .
openapi: 3.0.0
Expand Down
Loading

0 comments on commit f134f1c

Please sign in to comment.