Skip to content

Comandos úteis

flowingts / toOpenAPIPath

Função: toOpenAPIPath() ​

toOpenAPIPath(path): string

Definido em: src/openapi/generate.ts:43

/:org/users/:id(^\\d+) → /{org}/users/{id}; :: → :; * → {*}; sem barra final (o roteador a ignora).

Parâmetros ​

path ​

string

Retorna ​

string

Licença ISC.