Open JoelVenable opened 3 weeks ago
Hey @JoelVenable, this looks like a legitimate bug where additionalProperties: false
should not be producing any index signatures. Once that is fixed, would you still need a way to disable index signatures for other interfaces? The spec you provided is very clean and explicitly disallows additional properties, so combined with the fix that would take care of that problem
Description
Hello, I'm greenfielding a new project and am having typescript compiler issues caused by the index signature.
Frontend application is a freshly bootstrapped Vite app, backend generates the openapi spec using @fastify/swagger.
I understand why the index signature is there, however in our case the client and server are private and we use a code-first approach so incomplete docs should not be a problem for the consumer, therefore we have no need of it in this project.
While the issue needs a fix regardless, is there a way to disable adding the index signatures?
tsconfig.app.json
Reproducible example or configuration
OpenAPI specification (optional)
schema.json
System information (optional)
No response