You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generator emits objects with camelCase properties, but in cases where they should be omitted for being readonly, it omits them by snake_case, which is incorrect.
Description
The generator emits objects with camelCase properties, but in cases where they should be omitted for being readonly, it omits them by snake_case, which is incorrect.
The issue was introduced in this change:
Omit readOnly properties from request models
The problem is visible in the sample output:
https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Name.ts#L73
Name has a property
snakeCase
, but the generator outputs Omit<Name, "snake_case">.openapi-generator version
7.5.0
The text was updated successfully, but these errors were encountered: