Skip to content

Commit ee01c6b

Browse files
committed
fix: incorrect casing for model
1 parent 2364ec4 commit ee01c6b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Unicorn.Contracts/api.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -103,38 +103,38 @@ components:
103103
schemas:
104104
CreateContractModel:
105105
required:
106-
- "property_id"
107-
- "seller_name"
108-
- "address"
106+
- "PropertyId"
107+
- "SellerName"
108+
- "Address"
109109
type: "object"
110110
properties:
111-
property_id:
111+
PropertyId:
112112
type: "string"
113-
seller_name:
113+
SellerName:
114114
type: "string"
115-
address:
115+
Address:
116116
required:
117-
- "city"
118-
- "country"
119-
- "number"
120-
- "street"
117+
- "City"
118+
- "Country"
119+
- "Number"
120+
- "Street"
121121
type: "object"
122122
properties:
123-
country:
123+
Country:
124124
type: "string"
125-
city:
125+
City:
126126
type: "string"
127-
street:
127+
Street:
128128
type: "string"
129-
number:
129+
Number:
130130
type: "integer"
131131
UpdateContractModel:
132132
required:
133-
- "property_id"
133+
- "PropertyId"
134134
type: "object"
135135
properties:
136136
$ref: "#/components/schemas/CreateContractModel/properties"
137-
# property_id:
137+
# PropertyId:
138138
# type: "string"
139139
Empty:
140140
title: "Empty Schema"

0 commit comments

Comments
 (0)