Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Delete operation to maplike structs #899

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update docs/openapi3.txt
tcdsv committed Jan 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 9c5cb46617ac3b35558479f111c03791463c60d5
9 changes: 9 additions & 0 deletions .github/docs/openapi3.txt
Original file line number Diff line number Diff line change
@@ -150,6 +150,9 @@ func NewCallback(opts ...NewCallbackOption) *Callback
func NewCallbackWithCapacity(cap int) *Callback
NewCallbackWithCapacity builds a callback object of the given capacity.

func (callback *Callback) Delete(key string)
Delete removes the entry associated with key 'key' from 'callback'.

func (callback Callback) JSONLookup(token string) (interface{}, error)
JSONLookup implements
https://github.com/go-openapi/jsonpointer#JSONPointable
@@ -915,6 +918,9 @@ func NewPaths(opts ...NewPathsOption) *Paths
func NewPathsWithCapacity(cap int) *Paths
NewPathsWithCapacity builds a paths object of the given capacity.

func (paths *Paths) Delete(key string)
Delete removes the entry associated with key 'key' from 'paths'.

func (paths *Paths) Find(key string) *PathItem
Find returns a path that matches the key.

@@ -1145,6 +1151,9 @@ func NewResponsesWithCapacity(cap int) *Responses
func (responses *Responses) Default() *ResponseRef
Default returns the default response

func (responses *Responses) Delete(key string)
Delete removes the entry associated with key 'key' from 'responses'.

func (responses Responses) JSONLookup(token string) (interface{}, error)
JSONLookup implements
https://github.com/go-openapi/jsonpointer#JSONPointable