Skip to content

Commit 0987d92

Browse files
authored
Merge pull request #2162 from remi-van/fix-schemas-naming-code-typo
fix: schemas naming code typo
2 parents 44527a3 + 69a0eca commit 0987d92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/docs/guide/swaggerAnnotations/schemasNaming.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Owner {
1818
private Pet cat;
1919
private Pet dog;
2020
21-
@Schema(description = "Pet that is a a bird") // <2>
21+
@Schema(description = "Pet that is a bird") // <2>
2222
public Pet getBird() {
2323
return bird;
2424
}
@@ -30,7 +30,7 @@ class Owner {
3030
3131
@Schema(name = "Dog", description = "Pet that is a dog") // <4>
3232
public Pet getDog() {
33-
return cat;
33+
return dog;
3434
}
3535
}
3636
----

0 commit comments

Comments
 (0)