Skip to content

Commit c8a93a5

Browse files
Apply suggestion from @cubic-dev-ai[bot]
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent a36ac21 commit c8a93a5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/infrastructure

samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/infrastructure/ApiClient.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ open class ApiClient(val baseUrl: String, val client: Call.Factory = defaultClie
105105
var accessToken: String? = null
106106
const val BASE_URL_KEY: String = "org.openapitools.client.baseUrl"
107107

108+
@Deprecated(
109+
message = "Please use the capitalized constant `BASE_URL_KEY` instead.",
110+
replaceWith = ReplaceWith("BASE_URL_KEY")
111+
)
112+
const val baseUrlKey: String = BASE_URL_KEY
113+
108114
@JvmStatic
109115
val defaultClient: OkHttpClient by lazy {
110116
builder.build()

0 commit comments

Comments
 (0)