Skip to content

Commit ce34c34

Browse files
committed
fixed openAPI key on map
1 parent 0b04968 commit ce34c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/swagger/codegen/v3/generators/go/AbstractGoCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public Map<String, Object> postProcessModels(Map<String, Object> objs) {
430430

431431
@Override
432432
public Map<String, Object> postProcessSupportingFileData(Map<String, Object> objs) {
433-
OpenAPI openAPI = (OpenAPI)objs.get("openapi");
433+
OpenAPI openAPI = (OpenAPI)objs.get("openAPI");
434434
if(openAPI != null) {
435435
try {
436436
objs.put("swagger-yaml", Yaml.mapper().writeValueAsString(openAPI));

0 commit comments

Comments
 (0)