Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
feat(extension): add hardcode extensions back
Browse files Browse the repository at this point in the history
  • Loading branch information
sashamelentyev committed Feb 10, 2022
1 parent 852eae0 commit 5c07641
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions extensions.go

This file was deleted.

3 changes: 1 addition & 2 deletions schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (

// Schema -.
type Schema struct {
Extensions

Properties Schemas `json:"properties,omitempty" yaml:"properties,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
Format string `json:"format,omitempty" yaml:"format,omitempty"`
Expand All @@ -16,6 +14,7 @@ type Schema struct {
Required []string `json:"required,omitempty" yaml:"required,omitempty"`
Items *Schema `json:"items,omitempty" yaml:"items,omitempty"`
Ref string `json:"$ref,omitempty" yaml:"$ref,omitempty"`
Faker string `json:"x-faker,omitempty" yaml:"x-faker,omitempty"`
}

// IsRef -.
Expand Down

0 comments on commit 5c07641

Please sign in to comment.