Skip to content

Kiota incorrectly generates client if url require file extension #557

@bielu

Description

@bielu

I used following Open Api documentation:
openapi.txt
And you can notice endpoint: "/products/{product_id}/licenses/{license_id}.json"
however when checking request builder it generated as following:
{+baseurl}/products/{product_%2Did}/licenses/{license_%2Did}{?delete*,fields*,include_bundle*}
command for kiota which i used:
kiota generate -l CSharp -c FreemiusClient -n KiotaPosts.Client -d ./openapi.yaml -o ./Client" WorkingDirectory="$(ProjectDir)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs Triage 🔍

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions