Fix SO JsonSchema Ref
This commit is contained in:
parent
de52b6c2f9
commit
ef8ed0586f
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user