Skip to content

Commit 6349e79

Browse files
bvwellswing328
authored andcommitted
Fix typo in Petstore yaml (#7195)
1 parent d25341d commit 6349e79

File tree

22 files changed

+23
-23
lines changed

22 files changed

+23
-23
lines changed

modules/swagger-codegen/src/test/resources/2_0/petstore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ definitions:
602602
xml:
603603
name: Order
604604
Category:
605-
title: Pet catehgry
605+
title: Pet category
606606
description: A category for a pet
607607
type: object
608608
properties:

samples/client/petstore/ada/src/client/samples-petstore-models.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ package Samples.Petstore.Models is
4545

4646

4747
-- ------------------------------
48-
-- Pet catehgry
48+
-- Pet category
4949
-- A category for a pet
5050
-- ------------------------------
5151
type Category_Type is

samples/html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ <h2><a name="__Models">Models</a></h2>
12771277
<h3>Table of Contents</h3>
12781278
<ol>
12791279
<li><a href="#ApiResponse"><code>ApiResponse</code> - An uploaded response</a></li>
1280-
<li><a href="#Category"><code>Category</code> - Pet catehgry</a></li>
1280+
<li><a href="#Category"><code>Category</code> - Pet category</a></li>
12811281
<li><a href="#Order"><code>Order</code> - Pet Order</a></li>
12821282
<li><a href="#Pet"><code>Pet</code> - a Pet</a></li>
12831283
<li><a href="#Tag"><code>Tag</code> - Pet Tag</a></li>
@@ -1294,7 +1294,7 @@ <h3><a name="ApiResponse"><code>ApiResponse</code> - An uploaded response</a> <a
12941294
</div> <!-- field-items -->
12951295
</div>
12961296
<div class="model">
1297-
<h3><a name="Category"><code>Category</code> - Pet catehgry</a> <a class="up" href="#__Models">Up</a></h3>
1297+
<h3><a name="Category"><code>Category</code> - Pet category</a> <a class="up" href="#__Models">Up</a></h3>
12981298
<div class='model-description'>A category for a pet</div>
12991299
<div class="field-items">
13001300
<div class="param">id (optional)</div><div class="param-desc"><span class="param-type"><a href="#long">Long</a></span> format: int64</div>

samples/html2/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@
723723
"type" : "string"
724724
}
725725
},
726-
"title" : "Pet catehgry",
726+
"title" : "Pet category",
727727
"description" : "A category for a pet",
728728
"xml" : {
729729
"name" : "Category"

samples/server/petstore/aspnetcore/src/IO.Swagger/wwwroot/swagger-original.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@
707707
"type" : "string"
708708
}
709709
},
710-
"title" : "Pet catehgry",
710+
"title" : "Pet category",
711711
"description" : "A category for a pet",
712712
"example" : {
713713
"id" : 6,

samples/server/petstore/erlang-server/priv/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
"type" : "string"
700700
}
701701
},
702-
"title" : "Pet catehgry",
702+
"title" : "Pet category",
703703
"description" : "A category for a pet",
704704
"xml" : {
705705
"name" : "Category"

samples/server/petstore/flaskConnexion-python2/swagger_server/swagger/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ definitions:
643643
format: "int64"
644644
name:
645645
type: "string"
646-
title: "Pet catehgry"
646+
title: "Pet category"
647647
description: "A category for a pet"
648648
example:
649649
name: "name"

samples/server/petstore/flaskConnexion/swagger_server/swagger/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ definitions:
643643
format: "int64"
644644
name:
645645
type: "string"
646-
title: "Pet catehgry"
646+
title: "Pet category"
647647
description: "A category for a pet"
648648
example:
649649
name: "name"

samples/server/petstore/go-api-server/api/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ definitions:
648648
format: "int64"
649649
name:
650650
type: "string"
651-
title: "Pet catehgry"
651+
title: "Pet category"
652652
description: "A category for a pet"
653653
example:
654654
name: "name"

samples/server/petstore/java-play-framework-controller-only/public/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@
747747
"type" : "string"
748748
}
749749
},
750-
"title" : "Pet catehgry",
750+
"title" : "Pet category",
751751
"description" : "A category for a pet",
752752
"example" : {
753753
"name" : "name",

0 commit comments

Comments
 (0)