You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Invoicex-table: invoicestype: objectproperties:
id:
type: integerreference_invoice:
allOf:
- $ref: '#/components/schemas/Invoice'
- x-faker: false
- description: This field is only set on invoices of type "cancellation_invoice"
Bug: description don't work with allOf. Is not displayed in the generated BaseModel.
The text was updated successfully, but these errors were encountered:
At this moment, every custom OpenAPI extension such as x-faker, x-fk-on-update etc. with allOf is manually dealt with. description is not handled at all.
php-openapi make it easy to read allOf but it does not resolve allOf yet.
I have created cebe/php-openapi#208 to make handling and resolving of allOf dynamic. If merged and released, I will upgrade php-openapi repo in this repo and remove custom handling of above keywords in yii2-openapi.
Though I will still create a test in yii2-openapi using cebe/php-openapi#208 to ensure this issue is fixed.
SOHELAHMED7
added a commit
to SOHELAHMED7/php-openapi
that referenced
this issue
Sep 23, 2024
Invoice.yaml
Bug: description don't work with allOf. Is not displayed in the generated
BaseModel
.The text was updated successfully, but these errors were encountered: