fix post process file type (#18519)

This commit is contained in:
Ashish Mathew
2024-04-28 05:30:54 -07:00
committed by GitHub
parent c16f7f0aad
commit 519eaf6bf3
2 changed files with 2 additions and 2 deletions

View File

@@ -8139,7 +8139,7 @@ public class DefaultCodegen implements CodegenConfig {
/**
* Post-process the auto-generated file, e.g. using go-fmt to format the Go code. The file type can be "model-test",
* "model-doc", "model", "api", "api-test", "api-doc", "supporting-mustache", "supporting-common",
* "model-doc", "model", "api", "api-test", "api-doc", "supporting-file",
* "openapi-generator-ignore", "openapi-generator-version"
* <p>
* TODO: store these values in enum instead

View File

@@ -966,7 +966,7 @@ public abstract class AbstractGoCodegen extends DefaultCodegen implements Codege
// only process the following type (or we can simply rely on the file extension to check if it's a Go file)
Set<String> supportedFileType = new HashSet<>(
Arrays.asList(
"supporting-mustache",
"supporting-file",
"model-test",
"model",
"api-test",