Explorar o código

Fix SO JsonSchema Ref

ParthSareen hai 4 meses
pai
achega
ef8ed0586f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {