Skip to content

Commit 89cd772

Browse files
future-fujitama91n
andauthored
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 <[email protected]>
1 parent a42dca5 commit 89cd772

File tree

19 files changed

+1037
-466
lines changed

19 files changed

+1037
-466
lines changed

documents/forOpenAPISpecification/OpenAPI_Specification_3.0.3.md

Lines changed: 483 additions & 0 deletions
Large diffs are not rendered by default.

documents/forOpenAPISpecification/sample_divided/common/error.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

documents/forOpenAPISpecification/sample_divided/common/pet.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
components:
2+
schemas:
3+
ProblemDetailError:
4+
type: object
5+
properties:
6+
code:
7+
type: integer
8+
format: int32
9+
message:
10+
type: string
11+
required:
12+
- code
13+
- message
14+
responses:
15+
NotFound:
16+
description: Not Found
17+
content:
18+
application/json:
19+
schema:
20+
$ref: "#/components/schemas/ProblemDetailError"
21+
InternalServerError:
22+
description: Internal Server Error
23+
content:
24+
application/json:
25+
schema:
26+
$ref: "#/components/schemas/ProblemDetailError"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
value:
2+
pets:
3+
- id: 10001
4+
name: ToyPoodle
5+
category: dog
6+
sub_category: ToyPoodle
7+
age: 1
8+
sex: male
9+
note: friendly
10+
tag: dog10001
11+
- id: 10002
12+
name: Chihuahua
13+
category: dog
14+
sub_category: Chihuahua
15+
age: 1
16+
sex: female
17+
note: friendly
18+
tag: dog10002
19+
- id: 10003
20+
name: Shiba
21+
category: dog
22+
sub_category: Shiba
23+
age: 1
24+
sex: male
25+
note: friendly
26+
tag: dog10003
27+
- id: 10004
28+
name: MiniatureDachshund
29+
category: dog
30+
sub_category: MiniatureDachshund
31+
age: 1
32+
sex: female
33+
note: friendly
34+
tag: dog10004
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
value:
2+
pets: []
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
value:
2+
pet_detail:
3+
breeder: BreederName
4+
date_of_birth: '2023-10-31'
5+
pedigree:
6+
registration_no: 11111111
7+
date_of_registration: '2023-10-31'
8+
pedigree_image: 9j2wBDAA...8QAPxAAAQQABAMGBAYDAAEDAg
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
value:
2+
pet:
3+
id: 10005
4+
name: FrenchBulldog
5+
category: dog
6+
sub_category: FrenchBulldog
7+
age: 1
8+
sex: male
9+
note: friendly
10+
tag: dog10005

0 commit comments

Comments
 (0)