You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This spec includes parentheses in operationId , which is valid though It's not recommended in OAS 3.0.3.
operationId: secondary-dns-(-primary-zone)-create-primary-zone-configuration
tkow
changed the title
Bug: generator function name includes parentheses string
Feature Request: generator function name includes parentheses string
Feb 11, 2024
tkow
changed the title
Feature Request: generator function name includes parentheses string
Feature Request: adapt name includes parentheses string
Feb 11, 2024
Steps To Reproduce
Run
bun i && bun gen.ts
in https://github.com/tkow/cloudflare-ts-client.This spec includes parentheses in operationId , which is valid though It's not recommended in OAS 3.0.3.
operationId: secondary-dns-(-primary-zone)-create-primary-zone-configuration
The current behavior
See generated codes from a coudflare spec.
https://github.com/tkow/cloudflare-ts-client/blob/main/src/client.ts
The expected behavior
Sanitize them to valid function name.
The text was updated successfully, but these errors were encountered: