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
I don't know if this is related to #4 , but I had just discovered StepCI and was trying it out to generate a workflow file from my OpenAPI 3.0 spec and I encountered errors from the stepci CLI
Error: TypeError: Cannot read properties of undefined (reading 'default') Caused By: trying to access default in param.schema.default around line 75 of plugin-openapi/index.js
This is as a result of having reusable parameters in my API spec like below 👇🏽
/characters:
get:
...parameters:
- $ref: '#/components/parameters/JobTypeQueryParam'
- $ref: '#/components/parameters/SortOnQueryParam'
- $ref: '#/components/parameters/SortDirQueryParam'
- $ref: '#/components/parameters/PageQueryParam'
- $ref: '#/components/parameters/CharacterNameQueryParam'...components:
parameters:
...PageQueryParam:
in: queryname: pagedescription: For a paginated response, the page of the matching data to fetch. Defaults to `1`required: falseschema:
type: integerminimum: 1maximum: 100default: 1example: 2
Is this being looked into, seeing that issue #4 is dating back to October 2022?
Thanks
The text was updated successfully, but these errors were encountered:
chalu
changed the title
Unable to generate workflow from OpenAPI with reusable request parameters
[Bug] Unable to generate workflow from OpenAPI with reusable request parameters
May 1, 2024
chalu
changed the title
[Bug] Unable to generate workflow from OpenAPI with reusable request parameters
[Bug] Unable to generate workflow from OpenAPI file with reusable request parameters
May 1, 2024
I don't know if this is related to #4 , but I had just discovered StepCI and was trying it out to generate a workflow file from my OpenAPI 3.0 spec and I encountered errors from the stepci CLI
Error: TypeError: Cannot read properties of undefined (reading 'default')
Caused By: trying to access
default
inparam.schema.default
around line 75 ofplugin-openapi/index.js
This is as a result of having reusable parameters in my API spec like below 👇🏽
Is this being looked into, seeing that issue #4 is dating back to October 2022?
Thanks
The text was updated successfully, but these errors were encountered: