From ce2b8271c3c24efe59e56ad149ebd9fb21a94f5b Mon Sep 17 00:00:00 2001
From: jjohnstondev <jakester620@gmail.com>
Date: Mon, 9 Jan 2023 10:05:51 -0800
Subject: [PATCH] add description

---
 openrpc/types/types.go | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/openrpc/types/types.go b/openrpc/types/types.go
index dff54d8..e017a85 100644
--- a/openrpc/types/types.go
+++ b/openrpc/types/types.go
@@ -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),
-- 
GitLab