orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
Since the pattern has */ inside, the generated TS file has an error and cannot be used directly. It will not be compiled. The JSDoc will be generated as follows:
What are the steps to reproduce this issue?
fetch
What happens?
Since the
pattern
has*/
inside, the generated TS file has an error and cannot be used directly. It will not be compiled. The JSDoc will be generated as follows:…
What were you expecting to happen?
Orval should properly escape the pattern in order to not produce a file with error. …
Any logs, error output, etc?
…
Any other comments?
…
What versions are you using?
System: OS: macOS 15.1 CPU: (14) arm64 Apple M3 Max Memory: 566.78 MB / 36.00 GB Shell: 5.9 - /bin/zsh