go-duck-cli 1.3.36 → 1.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ export const generatePostmanCollection = async (config, entities, outputDir, ope
18
18
  item: [],
19
19
  variable: [
20
20
  { key: "host", value: "localhost", type: "string" },
21
- { key: "port", value: String(config.server?.port || 8080), type: "string" },
21
+ { key: "port", value: String(config.server?.rest?.port || 8080), type: "string" },
22
22
  { key: "tenant", value: "tenant_1", type: "string" },
23
23
  { key: "token", value: "", type: "string" },
24
24
  { key: "keycloak_url", value: config.security?.['keycloak-host'] || "http://localhost:8180", type: "string" },
@@ -17,7 +17,7 @@ export const generateSwaggerDocs = async (config, entities, outputDir, openEntit
17
17
  description: `Generated documentation for ${config.name} microservice`
18
18
  },
19
19
  servers: [
20
- { url: `http://localhost:${config.server?.port || 8080}`, description: 'Local Development Server' }
20
+ { url: `http://localhost:${config.server?.rest?.port || 8080}`, description: 'Local Development Server' }
21
21
  ],
22
22
  paths: {},
23
23
  components: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "go-duck-cli",
3
- "version": "1.3.36",
3
+ "version": "1.3.37",
4
4
  "description": "The Ultimate Evolutionary Go Microservice Scaffolder.",
5
5
  "main": "index.js",
6
6
  "type": "module",