ng-openapi-gen
ng-openapi-gen copied to clipboard
NgOpenApiGen class to be extendable to create other/custom templates
Can we make the write method protected instead of private so the NgOpenApiGen can be extended with additional custom outputs/templates. Something like this:
export class CustomGen extends NgOpenApiGen {
generate(): void {
super.generate();
this.write('custom', {...} , 'custom');
}
}
write is private so above doesn't transpile.
Sorry, I'm having little to no time to dedicate to this project. If you make a PR, I'll try to include it in the next release.