Bug Report Checklist
Description
openapi-generator version
5.1.1
and
5.2.0-20210607.065944-108
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
"example": {
"type": "object",
"additionalProperties": true
}
or additionalProperties: {}
Create a spec with the model above and use csharp or csharp-netcore to generate a client. It errors with error CS0305: Using the generic type 'Dictionary<TKey, TValue>' requires 2 type arguments
The property in code shows as Dictionary without any additional type information
Bug Report Checklist
Description
openapi-generator version
5.1.1and
5.2.0-20210607.065944-108OpenAPI declaration file content or url
Generation Details
Steps to reproduce
or
additionalProperties: {}Create a spec with the model above and use
csharporcsharp-netcoreto generate a client. It errors witherror CS0305: Using the generic type 'Dictionary<TKey, TValue>' requires 2 type argumentsThe property in code shows as
Dictionarywithout any additional type information