diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PostmanCollectionCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PostmanCollectionCodegen.java index 028667f18701..71d5609cc4c2 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PostmanCollectionCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PostmanCollectionCodegen.java @@ -131,6 +131,7 @@ public PostmanCollectionCodegen() { @Override public void postProcessParameter(CodegenParameter parameter) { + // create Postman variable from every path parameter if(pathParamsAsVariables && parameter.isPathParam) { variables.add(new PostmanVariable() .addName(parameter.paramName) @@ -216,13 +217,16 @@ public OperationsMap postProcessOperationsWithModels(OperationsMap objs, List