mnahkies / openapi-code-generator

A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.
https://openapi-code-generator.nahkies.co.nz/
MIT License
16 stars 2 forks source link

refactor: isolate filesystem interaction #201

Closed mnahkies closed 2 months ago

mnahkies commented 2 months ago

to create an interactive playground for the documentation site, we need to reduce the coupling to nodejs api's

introducing the IFsAdaptor interface, and isolating use of node:fs behind this will make it possible to provide some kind of virtual filesystem in the web browser.