Thanks to visit codestin.com
Credit goes to github.com

Skip to content

K6 template for Typescript has error when void is return type #5250

@jsclifford

Description

@jsclifford

Describe the bug

K6 Template for typescript adds an extra , when a return type of void in the client.

Version of NSwag toolchain, computer and .NET runtime used

latest main (unreleased)

To Reproduce

npm run nswag with k6 as template type in nswag.json

Expected behavior

The generated typescript client won't have an extra comma in the properties of the function.

Additional context

The k6 template for typescript was introduced with #5239

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions