Skip to content

Add support for models that are exploded query params #1020

Description

@jhendrixMSFT
model ExpandParameters {
  field: string;
  value: string;
}

@route("model{?param*}")
op `model`(param: ExpandParameters): void;

Each field in ExpandParameters is the query param key/value. So this would effectively become.

query_builder.set_pair("field", param.field);
query_builder.set_pair("value", param.value);

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodeGenIssues that relate to code generation

    Type

    No type

    Projects

    Status
    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions