-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update divided-file section (#172)
* fix: update divided-file section * fix: reflect review comments * Update documents/forOpenAPISpecification/sample_divided/common/responses.yaml --------- Co-authored-by: Junki Mano <mano.junki@gmail.com>
- Loading branch information
1 parent
a42dca5
commit 89cd772
Showing
19 changed files
with
1,037 additions
and
466 deletions.
There are no files selected for viewing
483 changes: 483 additions & 0 deletions
483
documents/forOpenAPISpecification/OpenAPI_Specification_3.0.3.md
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
documents/forOpenAPISpecification/sample_divided/common/error.yaml
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
documents/forOpenAPISpecification/sample_divided/common/pet.yaml
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
documents/forOpenAPISpecification/sample_divided/common/responses.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
components: | ||
schemas: | ||
ProblemDetailError: | ||
type: object | ||
properties: | ||
code: | ||
type: integer | ||
format: int32 | ||
message: | ||
type: string | ||
required: | ||
- code | ||
- message | ||
responses: | ||
NotFound: | ||
description: Not Found | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/ProblemDetailError" | ||
InternalServerError: | ||
description: Internal Server Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/ProblemDetailError" |
34 changes: 34 additions & 0 deletions
34
documents/forOpenAPISpecification/sample_divided/examples/pets_get/test_case_001.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
value: | ||
pets: | ||
- id: 10001 | ||
name: ToyPoodle | ||
category: dog | ||
sub_category: ToyPoodle | ||
age: 1 | ||
sex: male | ||
note: friendly | ||
tag: dog10001 | ||
- id: 10002 | ||
name: Chihuahua | ||
category: dog | ||
sub_category: Chihuahua | ||
age: 1 | ||
sex: female | ||
note: friendly | ||
tag: dog10002 | ||
- id: 10003 | ||
name: Shiba | ||
category: dog | ||
sub_category: Shiba | ||
age: 1 | ||
sex: male | ||
note: friendly | ||
tag: dog10003 | ||
- id: 10004 | ||
name: MiniatureDachshund | ||
category: dog | ||
sub_category: MiniatureDachshund | ||
age: 1 | ||
sex: female | ||
note: friendly | ||
tag: dog10004 |
2 changes: 2 additions & 0 deletions
2
documents/forOpenAPISpecification/sample_divided/examples/pets_get/test_case_002.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
value: | ||
pets: [] |
8 changes: 8 additions & 0 deletions
8
documents/forOpenAPISpecification/sample_divided/examples/pets_pet_id_get/test_case_003.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
value: | ||
pet_detail: | ||
breeder: BreederName | ||
date_of_birth: '2023-10-31' | ||
pedigree: | ||
registration_no: 11111111 | ||
date_of_registration: '2023-10-31' | ||
pedigree_image: 9j2wBDAA...8QAPxAAAQQABAMGBAYDAAEDAg |
10 changes: 10 additions & 0 deletions
10
documents/forOpenAPISpecification/sample_divided/examples/pets_post/test_case_004.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
value: | ||
pet: | ||
id: 10005 | ||
name: FrenchBulldog | ||
category: dog | ||
sub_category: FrenchBulldog | ||
age: 1 | ||
sex: male | ||
note: friendly | ||
tag: dog10005 |
Oops, something went wrong.