Skip to content

Commit dbb1709

Browse files
committed
test: 修改中文tag, 避免bing api 在单数复数中切换导致单元测试失败
1 parent eede7de commit dbb1709

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/example-files/openapi-chinese-tag.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"tags": [
2626
{
27-
"name": "宠物",
27+
"name": "宠物们",
2828
"description": "Everything about your Pets",
2929
"externalDocs": {
3030
"description": "Find out more",
@@ -47,7 +47,7 @@
4747
"paths": {
4848
"/pet": {
4949
"put": {
50-
"tags": ["宠物", "你好", "世界", "happy"],
50+
"tags": ["宠物们", "你好", "世界", "happy"],
5151
"summary": "Update an existing pet",
5252
"description": "Update an existing pet by Id",
5353
"operationId": "updatePet",
@@ -105,7 +105,7 @@
105105
]
106106
},
107107
"post": {
108-
"tags": ["宠物"],
108+
"tags": ["宠物们"],
109109
"summary": "Add a new pet to the store",
110110
"description": "Add a new pet to the store",
111111
"operationId": "addPet",
@@ -159,7 +159,7 @@
159159
},
160160
"/pet/findByStatus": {
161161
"get": {
162-
"tags": ["宠物"],
162+
"tags": ["宠物们"],
163163
"summary": "Finds Pets by status",
164164
"description": "Multiple status values can be provided with comma separated strings",
165165
"operationId": "findPetsByStatus",
@@ -212,7 +212,7 @@
212212
},
213213
"/pet/findByTags": {
214214
"get": {
215-
"tags": ["宠物"],
215+
"tags": ["宠物们"],
216216
"summary": "Finds Pets by tags",
217217
"description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
218218
"operationId": "findPetsByTags",
@@ -266,7 +266,7 @@
266266
},
267267
"/pet/{petId}": {
268268
"get": {
269-
"tags": ["宠物"],
269+
"tags": ["宠物们"],
270270
"summary": "Find pet by ID",
271271
"description": "Returns a single pet",
272272
"operationId": "getPetById",
@@ -315,7 +315,7 @@
315315
]
316316
},
317317
"post": {
318-
"tags": ["宠物"],
318+
"tags": ["宠物们"],
319319
"summary": "Updates a pet in the store with form data",
320320
"description": "",
321321
"operationId": "updatePetWithForm",
@@ -359,7 +359,7 @@
359359
]
360360
},
361361
"delete": {
362-
"tags": ["宠物"],
362+
"tags": ["宠物们"],
363363
"summary": "Deletes a pet",
364364
"description": "",
365365
"operationId": "deletePet",
@@ -398,7 +398,7 @@
398398
},
399399
"/pet/{petId}/uploadImage": {
400400
"post": {
401-
"tags": ["宠物"],
401+
"tags": ["宠物们"],
402402
"summary": "uploads an image",
403403
"description": "",
404404
"operationId": "uploadFile",

0 commit comments

Comments
 (0)