icerockdev / moko-network

Network components with codegeneration of rest api for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev
Apache License 2.0
154 stars 30 forks source link

query param name starts with a number #173

Open Lobynya opened 2 years ago

Lobynya commented 2 years ago

when parameter name start with a nuber, from example:

        - name: 24h
          in: query
          description: Круглосуточно
          schema:
            type: boolean
          required: false

in generated file it will be

 \`24h\`: kotlin.Boolean? = null,