good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8c79388e authored by a's avatar a
Browse files

Merge branch 'adddesc' into 'master'

Add Description to schema

See merge request !5
parents 3e5dbd8f ce2b8271
Loading
......@@ -26,8 +26,9 @@ type ServerVariable struct {
}
type Info struct {
Title string `json:"title"`
Version string `json:"version"`
Title string `json:"title"`
Description string `json:"description"`
Version string `json:"version"`
}
type Items []Schema
......@@ -144,8 +145,9 @@ func NewOpenRPCSpec1() *OpenRPC {
Package: "main",
Version: "1.0.0",
Info: Info{
Title: "gfx.cafe/open/jrpc/openrpc",
Version: "0.0.0",
Title: "gfx.cafe/open/jrpc/openrpc",
Description: "",
Version: "0.0.0",
},
Servers: make([]Server, 0),
Methods: make([]Method, 0),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment