You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution will probably be to run dotnet format over the generated code, however, this will impact openapi-forge-web which runs in an AWS Lambda with a node environment.
A short-term fix is to simply manually format the C# handlebars templates to provide a decent output.
The text was updated successfully, but these errors were encountered:
Currently OpenAPI Forge is a node-based CLI tool. There isn't a conventional or mature way to format C# code from node / JS applications.
The following is a retired prettier plugin that might have been helpful:
https://github.com/warrenseine/prettier-plugin-csharp
The solution will probably be to run
dotnet format
over the generated code, however, this will impact openapi-forge-web which runs in an AWS Lambda with a node environment.A short-term fix is to simply manually format the C# handlebars templates to provide a decent output.
The text was updated successfully, but these errors were encountered: