Prechádzať zdrojové kódy

Fix SO JsonSchema Ref

ParthSareen 4 mesiacov pred
rodič
commit
ef8ed0586f
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      llama/llama.go

+ 1 - 0
llama/llama.go

@@ -709,6 +709,7 @@ type JsonSchema struct {
 	Required   []string       `json:"required,omitempty"`
 	Title      string         `json:"title,omitempty"`
 	Type       string         `json:"type,omitempty"`
+	Ref        string         `json:"$ref,omitempty"`
 }
 
 func (js JsonSchema) AsGrammar() string {