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
The return type in function declaration contains only one type, the doc comments can contain multiple (even not unique)
... * @return \OpenAPI\Client\Model\Permission|\OpenAPI\Client\Model\OdataError|\OpenAPI\Client\Model\OdataError */ public function invite( string $drive_id, string $item_id, ?\OpenAPI\Client\Model\DriveItemInvite $drive_item_invite = null, string $contentType = self::contentTypes['invite'][0] ): \OpenAPI\Client\Model\Permission ....
7.1.0
https://github.com/owncloud/libre-graph-api/blob/main/api/openapi-spec/v1.0.yaml
docker run --rm -v $PWD:/local openapitools/openapi-generator-cli:v7.1.0 generate --enable-post-process-file -i /local/api/openapi-spec/v1.0.yaml --additional-properties=packageName=libregraph --git-user-id=owncloud --git-repo-id=libre-graph-api-php -g php-nextgen -o /local/out/php-nextgen
mixed
openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpNextgenClientCodegen.java
Line 183 in 48f454c
The text was updated successfully, but these errors were encountered:
delete return type
2be713e
temp fix for OpenAPITools/openapi-generator#17113
796a501
ae6d8ef
[PHP][php-nextgen] List all possible return types (fix OpenAPITools#1…
16dfa51
…7113)
No branches or pull requests
Bug Report Checklist
Description
The return type in function declaration contains only one type, the doc comments can contain multiple (even not unique)
openapi-generator version
7.1.0
OpenAPI declaration file content or url
https://github.com/owncloud/libre-graph-api/blob/main/api/openapi-spec/v1.0.yaml
Generation Details
docker run --rm -v $PWD:/local openapitools/openapi-generator-cli:v7.1.0 generate --enable-post-process-file -i /local/api/openapi-spec/v1.0.yaml --additional-properties=packageName=libregraph --git-user-id=owncloud --git-repo-id=libre-graph-api-php -g php-nextgen -o /local/out/php-nextgen
Steps to reproduce
Suggest a fix
mixed
inopenapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpNextgenClientCodegen.java
Line 183 in 48f454c
The text was updated successfully, but these errors were encountered: