Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
  • Loading branch information
fenollp committed Nov 28, 2023
1 parent 5a26ab9 commit 63f73e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .github/docs/openapi3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,6 @@ func NewCallback(opts ...NewCallbackOption) *Callback
func NewCallbackWithCapacity(cap int) *Callback
NewCallbackWithCapacity builds a Callback object of the given capacity.

func (callback *Callback) Get(key string) (*PathItem, bool)
Get returns the callback for key and the presence bit

func (callback Callback) JSONLookup(token string) (interface{}, error)
JSONLookup implements
https://github.com/go-openapi/jsonpointer#JSONPointable
Expand Down Expand Up @@ -933,9 +930,6 @@ func (paths *Paths) Find(key string) *PathItem

would return the correct path item.

func (paths *Paths) Get(key string) (*PathItem, bool)
Get returns the paths for key and the presence bit

func (paths *Paths) InMatchingOrder() []string
InMatchingOrder returns paths in the
order they are matched against URLs. See
Expand Down Expand Up @@ -1151,9 +1145,6 @@ func NewResponsesWithCapacity(cap int) *Responses
func (responses *Responses) Default() *ResponseRef
Default returns the default response

func (responses *Responses) Get(key string) (*ResponseRef, bool)
Get returns the responses for key and the presence bit

func (responses Responses) JSONLookup(token string) (interface{}, error)
JSONLookup implements
https://github.com/go-openapi/jsonpointer#JSONPointable
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ This will change the schema validation errors to return only the `Reason` field,

## CHANGELOG: Sub-v1 breaking API changes

### next
### v0.122.0
* `Paths` field of `openapi3.T` is now a pointer
* `Responses` field of `openapi3.Operation` is now a pointer
* `openapi3.Paths` went from `map[string]*PathItem` to a struct with an `Extensions` field and methods: `Set`, `Value`, `Len`, `Map`, and `New*`.
Expand Down

0 comments on commit 63f73e7

Please sign in to comment.