Fix SO JsonSchema Ref

This commit is contained in:
ParthSareen 2024-12-07 20:44:53 -08:00
parent de52b6c2f9
commit ef8ed0586f

View File

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