Skip to content
New issue

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

post-processing: run formatter after client generation #12

Closed
szepeviktor opened this issue Dec 5, 2023 · 1 comment · Fixed by #15
Closed

post-processing: run formatter after client generation #12

szepeviktor opened this issue Dec 5, 2023 · 1 comment · Fixed by #15

Comments

@szepeviktor
Copy link
Collaborator

Generator output:

[main] INFO  o.o.c.languages.AbstractPhpCodegen - Environment variable PHP_POST_PROCESS_FILE not defined so the PHP code may not be properly formatted. To define it, try 'export PHP_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[main] INFO  o.o.c.languages.AbstractPhpCodegen - NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
@szepeviktor
Copy link
Collaborator Author

Yet another openapi issue blocking this.
php-cs-fixer is not able to fix that docblock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant