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
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
---
toktor-init-tools/ktor-generator/src/jvmTest/resources/swagger.yaml
and runningktor-init-tools/ktor-generator/src/jvmTest/kotlin/io/ktor/start/SwaggerGenerationTest.kt