Skip to content

[Kotlin][Client] Fix url path for Retrofit, Fix optionals for @Query @Body, Set List as default collection for Kotlin data class #6456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7503c6b
Replace typeMapping kotlin.Array with kotlin.collections.List, becaus…
kuFEAR May 27, 2020
8321d0f
Fixed path(removed slash on begin path) for Jvm Kotlin Retrofit
kuFEAR May 27, 2020
3c2e6ec
Fixed handling optional bodyParams for Jvm Kotlin Retrofit
kuFEAR May 27, 2020
7a790d0
Fix kotlin tests
kuFEAR May 27, 2020
aee66fe
Fixed code format for detekt inspections #2
kuFEAR May 27, 2020
b22f22e
revert formatting
kuFEAR May 27, 2020
37db0c4
Added ability to generate optional @Query params.
kuFEAR May 27, 2020
6e4fcf6
Update Kotlin docs.
kuFEAR May 27, 2020
3c747a9
Update Kotlin openapi3 client samples
kuFEAR May 27, 2020
57f0797
Update Kotlin client samples
kuFEAR May 27, 2020
6729176
Merge remote-tracking branch 'base_origin/master' into kotlin_client_…
kuFEAR May 27, 2020
6215f12
Update Kotlin openapi3 client samples after merge with master
kuFEAR May 27, 2020
06aa8b5
Revert hardcoding List instead Array
kuFEAR May 27, 2020
4aa653c
Set List as default collectionType
kuFEAR May 27, 2020
48402f5
Update Kotlin samples
kuFEAR May 27, 2020
cf5f684
Fixed Kotlin multiplatform api template. fix mapper for Array type.
kuFEAR May 27, 2020
927089d
Update Kotlin multiplatform sample
kuFEAR May 27, 2020
1c8c952
Fix Kotlin multiplatform template code style
kuFEAR May 27, 2020
4dfc577
Update Kotlin multiplatform sample
kuFEAR May 27, 2020
4826bfd
Fix Kotlin multiplatform converting Array to List in Api.
kuFEAR May 27, 2020
9e40a1a
Update Kotlin multiplatform sample #3
kuFEAR May 27, 2020
ff3f63d
Fix Kotlin tests
kuFEAR May 28, 2020
198912a
Fix Kotlin jackson Application.kt
kuFEAR May 28, 2020
2648d1d
Fix Kotlin tests #2
kuFEAR May 28, 2020
93a373d
Merge remote-tracking branch 'base_origin/master' into kotlin_client_…
kuFEAR Jun 5, 2020
5b871fe
Fix merge conflict with master
kuFEAR Jun 5, 2020
0e01283
Merge remote-tracking branch 'base_origin/master' into kotlin_client_…
kuFEAR Jun 8, 2020
ccb5ae7
Merge remote-tracking branch 'base_origin/master' into kotlin_client_…
kuFEAR Jun 11, 2020
1d7e8bb
Generate samples after merge with master
kuFEAR Jun 11, 2020
35d72c2
Generate samples after merge with master #2
kuFEAR Jun 11, 2020
bc9d17f
Generate samples after merge with master #3
kuFEAR Jun 11, 2020
993c5e9
Merge remote-tracking branch 'base_origin/master' into kotlin_client_…
kuFEAR Jun 11, 2020
4f049e4
Generate samples after merge with master #4
kuFEAR Jun 11, 2020
b878f22
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Jun 14, 2020
d950cd0
update kotlin samples
wing328 Jun 14, 2020
dfbd8da
update all samples
wing328 Jun 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fun main() {
println("<top>.main")
val inventory = StoreApi().getInventory()
println("Inventory : $inventory")
val pet = Pet(name = "Elliot", photoUrls = listOf<String>("https://jameshooverstudios.com/wp-content/uploads/2015/04/Majestic-Dog-Photography-Elliot-Nov-5-2014.jpg", "https://express-images.franklymedia.com/6616/sites/981/2020/01/22105725/Elliott.jpg").toTypedArray(), id = 123456453, category = Category(id = 13259476, name = "dog"), tags = listOf<Tag>(Tag(id = 194093, name = "Elliot")).toTypedArray(), status = Pet.Status.AVAILABLE)
val pet = Pet(name = "Elliot", photoUrls = listOf<String>("https://jameshooverstudios.com/wp-content/uploads/2015/04/Majestic-Dog-Photography-Elliot-Nov-5-2014.jpg", "https://express-images.franklymedia.com/6616/sites/981/2020/01/22105725/Elliott.jpg"), id = 123456453, category = Category(id = 13259476, name = "dog"), tags = listOf<Tag>(Tag(id = 194093, name = "Elliot")), status = Pet.Status.AVAILABLE)
PetApi().addPet(pet)
val elliot = PetApi().getPetById(123456453)
println("Elliot : $elliot")
Expand Down