Skip to content

Commit fe0b3ce

Browse files
4brunuwing328
authored andcommitted
[kotlin][client] improve nonpublic api (#4478)
1 parent 287af4a commit fe0b3ce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/openapi-generator/src/main/resources/kotlin-client/infrastructure/ApiAbstractions.kt.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package {{packageName}}.infrastructure
22

3-
typealias MultiValueMap = MutableMap<String,List<String>>
3+
{{#nonPublicApi}}internal {{/nonPublicApi}}typealias MultiValueMap = MutableMap<String,List<String>>
44

55
{{#nonPublicApi}}internal {{/nonPublicApi}}fun collectionDelimiter(collectionFormat: String) = when(collectionFormat) {
66
"csv" -> ","

samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/infrastructure/ApiAbstractions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.openapitools.client.infrastructure
22

3-
typealias MultiValueMap = MutableMap<String,List<String>>
3+
internal typealias MultiValueMap = MutableMap<String,List<String>>
44

55
internal fun collectionDelimiter(collectionFormat: String) = when(collectionFormat) {
66
"csv" -> ","

0 commit comments

Comments
 (0)