We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect generation of enum arrays
To Reproduce
PaymentMethod: type: string description: Payment method name enum: ['PAYMENT_CARD', 'PAYMENT_CARD_BINDING', 'APPLE_PAY', 'GOOGLE_PAY', 'BANK_ACCOUNT', 'CLICK_TO_PAY']
availablePaymentMethods: type: array items: $ref: '#/components/schemas/PaymentMethod'
[ { "availablePaymentMethods": "PAYMENT_CARD" }, { "availablePaymentMethods": "PAYMENT_CARD" } ]
Expected behavior Generated data should be an array of string
["PAYMENT_CARD", "PAYMENT_CARD"]
Environment:
cats-13.1.1, build time 2025-03-05T06:37:09Z UTC, platform Linux-5.15.167.4-microsoft-standard-WSL2-amd64
The text was updated successfully, but these errors were encountered:
868396e
Fixed now. Targeting next release.
Sorry, something went wrong.
Available in: https://github.com/Endava/cats/releases/tag/cats-13.1.2
en-milie
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Incorrect generation of enum arrays
To Reproduce
Expected behavior
Generated data should be an array of string
Environment:
The text was updated successfully, but these errors were encountered: