swagger-typescript-api
swagger-typescript-api copied to clipboard
How to generate content instead of a file?
Is it possible to generate a string with content instead of a file? I want to create a virtual module in vite and I need to get the content string after generation. Is there such a possibility?
I see that docs mention that if you don't define output property it will actually not write to disk, so maybe that just returns content as string that you can use?