A consistent, declarative way of interacting with RESTful backends, featuring code-generation from Swagger and OpenAPI specs 🔥
1.87k
stars
109
forks
source link
Generating a client with path params containing dots '.' fails #377
Open
willycoll opened 2 years ago
Describe the bug clients generated from swagger.json with path parameters containing dots
.
contain errorsTo Reproduce Steps to reproduce the behavior:
1) restful-react import --file swagger.json --output client.tsx 2) That generates the following invalid tsx:
Expected behavior A valid client.tsx file
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.