|
|
|
@ -28,7 +28,7 @@ public class PostmanDocPlugin implements IPluginSupport {
|
|
|
|
|
String docFileName = String.format("%s-%s-api-docs.json", DocContext.getDocsConfig().getProjectName(), DocContext.getDocsConfig().getApiVersion());
|
|
|
|
|
File docFile = new File(DocContext.getDocPath(), docFileName);
|
|
|
|
|
docFileWriter = new FileWriter(docFile);
|
|
|
|
|
Map<String, Object> data = new HashMap();
|
|
|
|
|
Map<String, Object> data = new HashMap<>();
|
|
|
|
|
data.put("controllerNodes", controllerNodeList);
|
|
|
|
|
data.put("currentApiVersion", DocContext.getCurrentApiVersion());
|
|
|
|
|
data.put("projectName", DocContext.getDocsConfig().getProjectName());
|
|
|
|
|