Open saschahofmann opened 1 year ago
I had a little dig and found that the issue is caused by oazapfts. I opened an issue there https://github.com/oazapfts/oazapfts/issues/461 and will close this .
Oazapfts now fixed this in https://github.com/oazapfts/oazapfts/pull/462 but this project still relies on oazapfts-patched.
In my OpenAPI schema I have a schema type defined as
which I would expect to be read as
but instead I receive
More details
I am running an API using FastAPI, I generate the OpenAPI schema using the inbuilt method which produces a schema with
"openapi": "3.1.0"
. I then usertk-query-codegen-openapi
to create my frontend client.Reproducible example
Given this
openapi.json
this
empyApi.ts
and the is
openApiConfig.json
I receive this
apiClient.ts
after runningrtk-query-codegen-openapi openApiConfig.json
As you can see in L19
Coordinates
is typed asany
.