Open LPCmedia opened 4 years ago
**What's the actual output vs expected output?**
given a header param defined as :
{ "in": "header", "name": "Range", "required": true, "schema": { "type": "array", "items": { "type": "string" } }, "style": "spaceDelimited" }
and calling the generated method in ts angular with:
genMethod(["foo", "0","100"])
Range: items 0 100
Range: items,0,100
When specifying "style": "spaceDelimited" for a request header it is generated as csv.
docker image Using default tag: latest latest: Pulling from openapitools/openapi-generator-cli Digest: sha256:c1fa5d28b09e44889b4cc05138790343b4531687d5f20cdc5db175a7842d40c9
Bug Report Checklist
**What's the actual output vs expected output?**
given a header param defined as :
{ "in": "header", "name": "Range", "required": true, "schema": { "type": "array", "items": { "type": "string" } }, "style": "spaceDelimited" }
and calling the generated method in ts angular with:
genMethod(["foo", "0","100"])
expected header:
Range: items 0 100
actual header
Range: items,0,100
Description
When specifying "style": "spaceDelimited" for a request header it is generated as csv.
openapi-generator version
docker image Using default tag: latest latest: Pulling from openapitools/openapi-generator-cli Digest: sha256:c1fa5d28b09e44889b4cc05138790343b4531687d5f20cdc5db175a7842d40c9
OpenAPI declaration file content or url