Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generator doesn't support format of schema generated by Swashbuckle #61

Closed
kosky37 opened this issue Jun 22, 2021 · 1 comment
Closed

Comments

@kosky37
Copy link

kosky37 commented Jun 22, 2021

For inherited types Swashbuckle generates separately "allOf": [] and "properties": {}:

"type":"object",
"allOf":[],
"properties":{}

, but the generator can only handle a format in which properties are inside allOf array:

"allOf":[
   {
      "type":"object",
      "properties":{}
   }
]

Issue created on oazapfts library

@phryneas
Copy link
Collaborator

The codegen is now published as @rtk-query/codegen-openapi and the code has moved over to the Redux Toolkit monorepo.

As usage has changed as well, please read the new documentation.

As this repository is getting archived, I am going to close this issue. The new release has bumped the oazapfts version - so if this is resolved over there, it should already contain that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants