We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Enums returns invalid code
public function getFailureReasonAllowableValues() { return [ self::FAILURE_REASON_EXPIRED_CARD self::FAILURE_REASON_INVALID_DETAILS self::FAILURE_REASON_FRAUD self::FAILURE_REASON_AUTHENTICATION_REQUIRED self::FAILURE_REASON_INVALID_CARD self::FAILURE_REASON_GENERAL_DECLINE self::FAILURE_REASON_CONTACT_PROVIDER self::FAILURE_REASON_LACK_OF_FUNDS ]; }
Swagger-codegen-v3 docker:latest
description: Payment response content: application/json: schema: type: object properties: paid: type: boolean failure_reason: type: string nullable: true enum: [expired_card, invalid_details, fraud, authentication_required, invalid_card, general_decline, contact_provider, lack_of_funds]
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli-v3:latest generate -i /local/openapi.yaml -l php -o /local/out/php --invoker-package=BillaBear --git-user-id=billabear --git-repo-id=php-sdk
This appears to be related #12404
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Enums returns invalid code
Swagger-codegen version
Swagger-codegen-v3 docker:latest
Swagger declaration file content or url
Command line used for generation
Related issues/PRs
This appears to be related #12404
The text was updated successfully, but these errors were encountered: