Skip to content

Commit

Permalink
openapi3gen: rename example to show up in docs (#932)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <[email protected]>
  • Loading branch information
fenollp authored Apr 6, 2024
1 parent 5aee5fc commit 134eaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi3gen/openapi3gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func (_ *ID) SetSchema(schema *openapi3.Schema) {
schema.Format = "uuid"
}

func ExampleID_SetSchema() {
func ExampleSetSchemar() {
schemas := make(openapi3.Schemas)
instance := &T{
ID: ID{},
Expand Down

0 comments on commit 134eaa0

Please sign in to comment.