Skip to content

Commit

Permalink
Add missing doc to openapi3.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Aug 27, 2024
1 parent 3aa1f02 commit 45e4156
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/docs/openapi3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,10 @@ type Ref struct {
Ref is specified by OpenAPI/Swagger 3.0 standard. See
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#reference-object

func (e *Ref) Validate(ctx context.Context, opts ...ValidationOption) error
Validate returns an error if Extensions does not comply with the OpenAPI
spec.

type RefNameResolver func(*T, ComponentRef) string
RefNameResolver maps a component to an name that is used as it's
internalized name.
Expand Down

0 comments on commit 45e4156

Please sign in to comment.