Comments (6)
Hi @gavinthomas-valtech , it seems like the normalizeOperationId
function is failing - I'm guessing it's because one or many of your endpoints do not have an operationId
defined in the OpenAPI file, which is the only requirement needed to run.
Can you confirm if that is the case? Thanks
from rapini.
hiya. For each endpoint described there is an operationId. UNless there needs to be a top level one?
I've run the yaml file against other openapi generators and they seem to work okay.
from rapini.
Would you be able to paste your open api file? Would help debug
from rapini.
Also based on your description that you want v4 react query, you'll need to pass in the v4 flag to the cli command npx rapini react-query v4 -p path/to/openapi.yaml
but that's unrelated to your issue I foresee. Would still need to see your openapi to help more
from rapini.
Will close this issue for now, please reopen if it's still an issue
from rapini.
this problem is fixable by bailing out of this method if the operationId is undefined.
#34
from rapini.
Related Issues (20)
- Export union types as objects HOT 1
- Feature request: optionally generate MSW mocks too HOT 1
- Anyof doesn't generate correct response HOT 2
- Use `npx` instead of `npm install -g` HOT 1
- Typescript support HOT 3
- Ability to change the way array param are sendt HOT 1
- react-query cache HOT 1
- https://orval.dev/ HOT 9
- Does Rapini generate code which is able to handle files download where the content-type=application/octet-stream? HOT 5
- The promise rejected with the reason "Missing "operationId" from "get" request with pattern /api/configuration/{orgId}/meterType".] HOT 2
- TypeError: Cannot read properties of undefined (reading 'split') HOT 1
- clarity on what is needed to correctly create react hook HOT 2
- newbie help HOT 4
- Clarification on how to use onSuccess / onError with mutation HOT 1
- Evaluation report (with Vue 3 + Vue Query) HOT 2
- (Suggestion) - Conditional support for UseInfiniteQuery HOT 1
- Can rapini generate code with responseType: 'blob' for file GET requests? HOT 1
- Does Rapini support React Query 5? HOT 1
- Generated code incompatible from 5.14.6 to 5.17.9 of @tanstack/react-query HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapini.