Skip to content

codegen won't even fetch openapi.json and throws a syntax error #1990

Answered by phryneas
phretor asked this question in Q&A
Discussion options

You must be logged in to vote

From the stack trace, you are invoking @rtk-incubator/rtk-query-codegen-openapi here, not @rtk-query/codegen-openapi - and that takes a schema as command line argument, not the config file. Do you have the package names mapped weirldy somehow?

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@phretor
Comment options

Answer selected by phretor
Comment options

You must be logged in to vote
5 replies
@phryneas
Comment options

@alaamh
Comment options

@alaamh
Comment options

@phryneas
Comment options

@alaamh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants