ktor-init-tools icon indicating copy to clipboard operation
ktor-init-tools copied to clipboard

RangeError: Maximum call stack size exceeded

Open DmitryVoronko opened this issue 4 years ago • 0 comments

When I'm trying to upload swagger.yaml to https://start.ktor.io/# I receive RangeError: Maximum call stack size exceeded. Idea plugin in such case throwing an error without messages.

I deleted optional start begin of yaml document --- and file has uploaded successfully to https://start.ktor.io/#.

You can simply reproduce that by adding optional start begin of yaml document --- to ktor-init-tools/ktor-generator/src/jvmTest/resources/swagger.yaml and running ktor-init-tools/ktor-generator/src/jvmTest/kotlin/io/ktor/start/SwaggerGenerationTest.kt

DmitryVoronko avatar Oct 30 '20 15:10 DmitryVoronko