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.
- package/generators/postman.js +1 -1
- package/generators/swagger.js +1 -1
- package/package.json +1 -1
package/generators/postman.js
CHANGED
|
@@ -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" },
|
package/generators/swagger.js
CHANGED
|
@@ -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: {
|