acacode / acacode/swagger-typescript-api

How do I handle a colon in the url?

Aperta
#532 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.