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 }}
Repository navigation
[Bug] Unable to generate workflow from OpenAPI file with reusable request parameters #18
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?
changed the title [-]Unable to generate workflow from OpenAPI with reusable request parameters[/-][+][Bug] Unable to generate workflow from OpenAPI with reusable request parameters[/+]on May 1, 2024
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[/+]on May 1, 2024
Activity
[-]Unable to generate workflow from OpenAPI with reusable request parameters[/-][+][Bug] Unable to generate workflow from OpenAPI with reusable request parameters[/+][-][Bug] Unable to generate workflow from OpenAPI with reusable request parameters[/-][+][Bug] Unable to generate workflow from OpenAPI file with reusable request parameters[/+]