1) the most important problem is that in interface price, backend_id became optional, though it should not be.
2) then, less important, is that interface price inherits from priceBase but it should be priceCreate.
3) and then, but it is not really important, there are a lot of properties that are repeated where they don't need to, cleaned up typescript would be:
Given this openapi definition where we have three schemas, price, that inherits from priceCreate that inherits from priceBase:
The generated index.ts file is:
There are a few problems in there.
1) the most important problem is that in interface
price
,backend_id
became optional, though it should not be. 2) then, less important, is that interfaceprice
inherits frompriceBase
but it should bepriceCreate
. 3) and then, but it is not really important, there are a lot of properties that are repeated where they don't need to, cleaned up typescript would be: