COLLECTION_FORMATS unresolved in generated api
Created by: AmazingTurtle
As defined in api.mustache#L103, the exported variable COLLECTION_FORMATS
is used. It is defined in baseapi.mustache
, however it is not imported in api.mustache
thus causing error TS2304
for me when building the api client. See the screenshot below. I suggest to add an import for the COLLECTION_FORMATS
variable in api.mustache
.
edit: perhaps I'm wrong or I misunderstood something because theres some runtime
aspect as well and I'm not certainly sure if the variable will be available at runtime. Therefore I'm asking for one of the maintainers to clarify this question - and if I'm right with my assumption, that this is a bug, then I'd be more than happy to provide a fix on my own.