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
{{ message }}
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.
Describe the bug
With a parameter defined in components.paramters the code generator no longer finds it for DELETE requests when referencing them after upgrading from v9 to v11. (Surprisingly enough only DELETE fails apparently)
To Reproduce
Create a test.yaml file:
openapi: 3.0.2info:
title: Backenddescription: Descriptionversion: 2.0.0-SNAPSHOTpaths:
/api/v2/library/connectors/{connectorName}:
put:
summary: SummmaryoperationId: putLibraryConnectorparameters:
- $ref: '#/components/parameters/connectorName'responses:
200:
description: Okdelete:
summary: SummmaryoperationId: deleteLibraryConnectorparameters:
- $ref: '#/components/parameters/connectorName'responses:
204:
description: No contentcomponents:
parameters:
connectorName:
name: connectorNamein: pathdescription: Name of a connector to queryrequired: trueschema:
type: stringexample: rc_mehrfachoffer_cme_mapperexamples: {}schemas: {}
Run restful-react import --file ./test.yaml --output generated.tsx
Expected behavior
No errors.
Screenshots Error: The path params connectorName can't be found in parameters (deleteLibraryConnector)
Desktop (please complete the following information):
OS: macOS 10.15.3
Library: v11 (working with ^9.12.1)
The text was updated successfully, but these errors were encountered:
Describe the bug
With a parameter defined in
components.paramters
the code generator no longer finds it forDELETE
requests when referencing them after upgrading from v9 to v11. (Surprisingly enough onlyDELETE
fails apparently)To Reproduce
test.yaml
file:restful-react import --file ./test.yaml --output generated.tsx
Expected behavior
No errors.
Screenshots
Error: The path params connectorName can't be found in parameters (deleteLibraryConnector)
Desktop (please complete the following information):
^9.12.1
)The text was updated successfully, but these errors were encountered: