stubs for codegen
This commit is contained in:
parent
8552a1d7da
commit
cf83eeab86
@ -27,7 +27,17 @@ func parseFlags() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Method struct {
|
||||||
|
Name string
|
||||||
|
}
|
||||||
|
|
||||||
|
type Endpoint struct {
|
||||||
|
Name string
|
||||||
|
Methods []Method
|
||||||
|
}
|
||||||
|
|
||||||
type Api struct {
|
type Api struct {
|
||||||
|
Endpoints []Endpoint
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiParser interface {
|
type ApiParser interface {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user