Open agrizzli opened 5 years ago
👍 Thanks for opening this issue! 🏷 I have applied any labels matching special text in your issue.
The team will review the labels and make any necessary changes.
I am seeing the same issue on the asciidoc generator. The description isn't accessible from each operation and endpoint context. The field is properly parsed because adding {{this}}
outside of the {{#apiInfo}}
loop does outputs the description field in the path
objects.
Bug Report Checklist
Description
php-ze-ph
module templates use{{description}}
variable in api.mustache to provide description for each operation. However this description won't be available in template, since guard{{#description}}
does not twig:openapi-generator version
4.0.0
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
summary
anddescription
src/App/Handler/ExampleItem.php
filesummary
but notdescription
in generated PHP code. Below Add new example item should be Adds example item to the systemRelated issues/PRs
Suggest a fix