swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

How do I handle a colon in the url?

Open cfluke-cb opened this issue 1 year ago • 1 comments

I have an http path like this "/v1/{walletName}:generateAddress":

The :generateAddress is becoming a string parameter from the generated client.

const response = await client.walletServiceGenerateAddress(name, ':generateAddress', { network: networkName, });

Is there a way to escape the colon in the path? or an generate parameter to ignore colon based http path variables?

cfluke-cb avatar May 22 '23 15:05 cfluke-cb

Do you find the solution?

I get same error :(

ByteWither avatar Oct 27 '23 08:10 ByteWither