Skip to content

Commit 134eaa0

Browse files
authored
openapi3gen: rename example to show up in docs (#932)
Signed-off-by: Pierre Fenoll <[email protected]>
1 parent 5aee5fc commit 134eaa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi3gen/openapi3gen_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ func (_ *ID) SetSchema(schema *openapi3.Schema) {
603603
schema.Format = "uuid"
604604
}
605605

606-
func ExampleID_SetSchema() {
606+
func ExampleSetSchemar() {
607607
schemas := make(openapi3.Schemas)
608608
instance := &T{
609609
ID: ID{},

0 commit comments

Comments
 (0)