[kotlin] Added path sanitization in javadoc comments (#20767)

* [kotlin] Added path sanitization in javadoc comments

* added sample as regression test

* Added samples/client/others/kotlin-jvm-okhttp-path-comments to github workflow
This commit is contained in:
Ross Sullivan
2025-05-12 00:23:50 +09:00
committed by GitHub
parent 91630b8591
commit 9981a408d1
43 changed files with 1577 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
# FindStuff200Response
## Properties
| Name | Type | Description | Notes |
| ------------ | ------------- | ------------- | ------------- |
| **id** | **kotlin.String** | | [optional] |

View File

@@ -0,0 +1,54 @@
# StuffApi
All URIs are relative to *https://example.org/v1*
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**findStuff**](StuffApi.md#findStuff) | **GET** /foo/* | Finds stuff |
<a id="findStuff"></a>
# **findStuff**
> FindStuff200Response findStuff()
Finds stuff
Finds stuff
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = StuffApi()
try {
val result : FindStuff200Response = apiInstance.findStuff()
println(result)
} catch (e: ClientException) {
println("4xx response calling StuffApi#findStuff")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling StuffApi#findStuff")
e.printStackTrace()
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**FindStuff200Response**](FindStuff200Response.md)
### Authorization
Configure bearerAuth:
ApiClient.accessToken = ""
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json