SMILEY4 / ktor-swagger-ui

Kotlin Ktor plugin to generate OpenAPI and provide Swagger UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing property schema for properties that start with 'is[A-Z]'

ReverendDread opened this issue · comments

commented

If you start a property name with 'is' and use a capital letter directly following, the property schema fails to generate.

Examples:

data class Irrelevant(
    val isNamed: String,
    val isIrrelevent: String
)

Hi, this is an problem with the underlying schema-generation-library i am using (see victools/jsonschema-generator#363), so i don't think there is much i can do on our side. However, the linked issue has already been resolved and fixed, just not yet released.
My plan would be to wait for the new version of jsonschema-generator and upgrade as soon as possible.

Now fixed with version 2.7.0