[REQ] [kotlin-client] Add uriAdapter for moshiBuilder (#9494)

* Apply UriAdapter to moshiBuilder

* Add UriAdapter for supportingFiles

* Fix test

* Apply ./bin/generate-samples.sh
This commit is contained in:
Kazuki Chigita
2021-05-21 00:05:22 +09:00
committed by GitHub
parent 0a34839567
commit 1ff436a86a
38 changed files with 190 additions and 6 deletions

View File

@@ -18,4 +18,4 @@ object UriAdapter : KSerializer<URI> {
override fun deserialize(decoder: Decoder): URI = URI(decoder.decodeString())
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("URI", PrimitiveKind.STRING)
}
}