-
Notifications
You must be signed in to change notification settings - Fork 304
Path parameters don't support arrays and maps as input #2318
Copy link
Copy link
Open
Labels
generatorIssues or improvements relater to generation capabilities.Issues or improvements relater to generation capabilities.type:bugA broken experienceA broken experience
Milestone
Description
This OpenAPI fragment
/v2/properties/{properties}:
get:
operationId: v2_getSelectedProperties
parameters:
- name: properties
in: path
required: true
schema:
type: array
items:
type: stringgenerated the following indexer
public WithPropertiesItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("properties", position);
return new WithPropertiesItemRequestBuilder(urlTplParams, RequestAdapter);
} }The type of the indexer parameter should be string[] and not string.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
generatorIssues or improvements relater to generation capabilities.Issues or improvements relater to generation capabilities.type:bugA broken experienceA broken experience
Type
Projects
Status
New📃