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
Issue is because the CodegenResponse has no way of specifying the nested type when the response from the operation is being parsed. This means mustache templates cannot have a way to detect that the response is actually nested container because the item type of the root container are not currently specified.
openapi-generator version
4.0.0
OpenAPI declaration file content or url
'/products/names':
get:
tags:
- Debugsummary: Retrieves list of names description: ''operationId: getProductNamesproduces:
- application/jsonresponses:
'200':
description: successful operationschema:
type: arrayitems:
type: arrayitems:
type: object'400':
description: not initialized'500':
description: Internal error
Suggest a fix
CodegenResponse should have additional fields or extension of current fields indicating the items of the container when the flag isContainer is set.
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
Issue is because the CodegenResponse has no way of specifying the nested type when the response from the operation is being parsed. This means mustache templates cannot have a way to detect that the response is actually nested container because the item type of the root container are not currently specified.
openapi-generator version
4.0.0
OpenAPI declaration file content or url
Suggest a fix
CodegenResponse should have additional fields or extension of current fields indicating the items of the container when the flag isContainer is set.
The text was updated successfully, but these errors were encountered: