OpenAPITools / OpenAPITools/openapi-generator
Custom request function
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
I use openapi-generator (typescript-axios) for all my end-points (api). Its great but I want use exactly like this in my api tests repo.
For api testing I use Cypress and it has own request function (cy.request(..))
I would like to use openapi-generator (typescript-axios, or mby typescript-node) but I have to rewite (axios instance or something) for call Cypress function.
Describe the solution you'd like
It could be fine if the generator has option typescript-cypress
Describe alternatives you've considered
Do you know how can I rewrite or extend axios or something what this generator created, for using Cypress function for call Api ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the typescript-axios generator and Cypress's cy.request function but no files or tests. Start by reviewing how the typescript-axios generator constructs requests and how Cypress request calls are exposed; define the generator option, supported behavior, and tests needed to show the generated client uses Cypress requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, typescript
- Domain
- api, testing, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100