Created by: rsinukov
Hi, I am part of the Ktor team. This PR updates Ktor server generator to the newest version of Kotlin and Ktor. Changes:
- Add flag to choose between using
Locations
feature or default routing - Generate locations for
get
requests too - Update to the latest version and fix warnings and errors
- Minor codestyle fixes
PR checklist
-
Read the contribution guidelines. -
Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community. -
Run the following to build the project and update samples: ... -
File the PR against the correct branch: master
,5.1.x
,6.0.x
-
If your PR is targeting a particular programming language, @mention the [technical committee] @jimschubert (2017/09), @dr4ke616 (2018/08) @karismann (2019/03) @Zomzog (2019/04) @andrewemery (2019/10) @4brunu (2019/11) @yutaka0m (2020/03)