Skip to content

Commit

Permalink
fix: update divided-file section (#172)
Browse files Browse the repository at this point in the history
* 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
future-fujita and ma91n authored Sep 25, 2024
1 parent a42dca5 commit 89cd772
Show file tree
Hide file tree
Showing 19 changed files with 1,037 additions and 466 deletions.
483 changes: 483 additions & 0 deletions documents/forOpenAPISpecification/OpenAPI_Specification_3.0.3.md

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions documents/forOpenAPISpecification/sample_divided/common/error.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions documents/forOpenAPISpecification/sample_divided/common/pet.yaml

This file was deleted.

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"
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
value:
pets: []
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
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
Loading

0 comments on commit 89cd772

Please sign in to comment.