Skip to content

Commit ec8c734

Browse files
committed
chore: update samples
1 parent 9871d89 commit ec8c734

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

samples/client/petstore/kotlin-nullable/docs/PetApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Configure petstore_auth:
108108

109109
<a id="findPetsByStatus"></a>
110110
# **findPetsByStatus**
111-
> kotlin.collections.List&lt;Pet&gt; findPetsByStatus(status)
111+
> kotlin.collections.List&lt;Pet&gt;? findPetsByStatus(status)
112112
113113
Finds Pets by status
114114

@@ -141,7 +141,7 @@ try {
141141

142142
### Return type
143143

144-
[**kotlin.collections.List&lt;Pet&gt;**](Pet.md)
144+
[**kotlin.collections.List&lt;Pet&gt;?**](Pet.md)
145145

146146
### Authorization
147147

@@ -156,7 +156,7 @@ Configure petstore_auth:
156156

157157
<a id="findPetsByTags"></a>
158158
# **findPetsByTags**
159-
> kotlin.collections.List&lt;Pet&gt; findPetsByTags(tags)
159+
> kotlin.collections.List&lt;Pet&gt;? findPetsByTags(tags)
160160
161161
Finds Pets by tags
162162

@@ -189,7 +189,7 @@ try {
189189

190190
### Return type
191191

192-
[**kotlin.collections.List&lt;Pet&gt;**](Pet.md)
192+
[**kotlin.collections.List&lt;Pet&gt;?**](Pet.md)
193193

194194
### Authorization
195195

@@ -204,7 +204,7 @@ Configure petstore_auth:
204204

205205
<a id="getPetById"></a>
206206
# **getPetById**
207-
> Pet getPetById(petId)
207+
> Pet? getPetById(petId)
208208
209209
Find pet by ID
210210

@@ -237,7 +237,7 @@ try {
237237

238238
### Return type
239239

240-
[**Pet**](Pet.md)
240+
[**Pet?**](Pet.md)
241241

242242
### Authorization
243243

@@ -347,7 +347,7 @@ Configure petstore_auth:
347347

348348
<a id="uploadFile"></a>
349349
# **uploadFile**
350-
> ModelApiResponse uploadFile(petId, additionalMetadata, file)
350+
> ModelApiResponse? uploadFile(petId, additionalMetadata, file)
351351
352352
uploads an image
353353

@@ -382,7 +382,7 @@ try {
382382

383383
### Return type
384384

385-
[**ModelApiResponse**](ModelApiResponse.md)
385+
[**ModelApiResponse?**](ModelApiResponse.md)
386386

387387
### Authorization
388388

samples/client/petstore/kotlin-nullable/docs/StoreApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ No authorization required
5757

5858
<a id="getInventory"></a>
5959
# **getInventory**
60-
> kotlin.collections.Map&lt;kotlin.String, kotlin.Int&gt; getInventory()
60+
> kotlin.collections.Map&lt;kotlin.String, kotlin.Int&gt;? getInventory()
6161
6262
Returns pet inventories by status
6363

@@ -87,7 +87,7 @@ This endpoint does not need any parameter.
8787

8888
### Return type
8989

90-
**kotlin.collections.Map&lt;kotlin.String, kotlin.Int&gt;**
90+
**kotlin.collections.Map&lt;kotlin.String, kotlin.Int&gt;?**
9191

9292
### Authorization
9393

@@ -103,7 +103,7 @@ Configure api_key:
103103

104104
<a id="getOrderById"></a>
105105
# **getOrderById**
106-
> Order getOrderById(orderId)
106+
> Order? getOrderById(orderId)
107107
108108
Find purchase order by ID
109109

@@ -136,7 +136,7 @@ try {
136136

137137
### Return type
138138

139-
[**Order**](Order.md)
139+
[**Order?**](Order.md)
140140

141141
### Authorization
142142

@@ -149,7 +149,7 @@ No authorization required
149149

150150
<a id="placeOrder"></a>
151151
# **placeOrder**
152-
> Order placeOrder(body)
152+
> Order? placeOrder(body)
153153
154154
Place an order for a pet
155155

@@ -180,7 +180,7 @@ try {
180180

181181
### Return type
182182

183-
[**Order**](Order.md)
183+
[**Order?**](Order.md)
184184

185185
### Authorization
186186

samples/client/petstore/kotlin-nullable/docs/UserApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ No authorization required
192192

193193
<a id="getUserByName"></a>
194194
# **getUserByName**
195-
> User getUserByName(username)
195+
> User? getUserByName(username)
196196
197197
Get user by user name
198198

@@ -223,7 +223,7 @@ try {
223223

224224
### Return type
225225

226-
[**User**](User.md)
226+
[**User?**](User.md)
227227

228228
### Authorization
229229

@@ -236,7 +236,7 @@ No authorization required
236236

237237
<a id="loginUser"></a>
238238
# **loginUser**
239-
> kotlin.String loginUser(username, password)
239+
> kotlin.String? loginUser(username, password)
240240
241241
Logs user into the system
242242

@@ -269,7 +269,7 @@ try {
269269

270270
### Return type
271271

272-
**kotlin.String**
272+
**kotlin.String?**
273273

274274
### Authorization
275275

0 commit comments

Comments
 (0)