diff --git a/openrpc/parse/parsing.go b/openrpc/parse/parsing.go index ef18b538dc32ec2058ea7832b0ea58d662e591d5..1b26d9e515152212af6f8847828bcac130851c38 100644 --- a/openrpc/parse/parsing.go +++ b/openrpc/parse/parsing.go @@ -8,13 +8,18 @@ import ( "github.com/go-openapi/spec" ) +type GoGlobal struct { + Structs map[string]*GoStruct + Types map[string]*GoType + Methods map[string]*GoMethod +} + type GoStruct struct { Name string Description string Fields map[string]string } - type GoField struct { Name string Type *GoType @@ -30,12 +35,6 @@ type GoType struct { Description string } -type GoGlobal struct { - Structs map[string]*GoStruct - Types map[string]*GoType - Methods map[string]*GoMethod -} - type GoMethod struct { Input string Output string