Explorar el Código

Fix SO JsonSchema Ref

ParthSareen hace 4 meses
padre
commit
ef8ed0586f
Se han modificado 1 ficheros con 1 adiciones y 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 {