aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-openapi/spec/schema.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-openapi/spec/schema.go')
-rw-r--r--vendor/github.com/go-openapi/spec/schema.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/go-openapi/spec/schema.go b/vendor/github.com/go-openapi/spec/schema.go
index 04aafcc74..1cdcc163f 100644
--- a/vendor/github.com/go-openapi/spec/schema.go
+++ b/vendor/github.com/go-openapi/spec/schema.go
@@ -201,8 +201,8 @@ func (r *SchemaURL) UnmarshalJSON(data []byte) error {
type SchemaProps struct {
ID string `json:"id,omitempty"`
- Ref Ref `json:"-,omitempty"`
- Schema SchemaURL `json:"-,omitempty"`
+ Ref Ref `json:"-"`
+ Schema SchemaURL `json:"-"`
Description string `json:"description,omitempty"`
Type StringOrArray `json:"type,omitempty"`
Format string `json:"format,omitempty"`