pg-mvc-service 2.1.8 → 2.1.10

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/dist/Service.js CHANGED
@@ -25,7 +25,7 @@ class Service {
25
25
  get Method() { return this.method; }
26
26
  get Endpoint() { return this.endpoint + this.request.paramPath; }
27
27
  get ApiCode() { return this.apiCode; }
28
- get Summary() { return `${this.ApiCode !== '' ? this.apiCode + ': ' : ''}${this.summary}`; }
28
+ get Summary() { return `${this.ApiCode !== '' ? `[${this.apiCode}]` : ''}${this.summary}`; }
29
29
  get ApiUserAvailable() { return this.apiUserAvailable; }
30
30
  get Request() { return this.request; }
31
31
  ; // swaggerで必要なので、ここだけ宣言
@@ -29,7 +29,7 @@ const createSwagger = (services, name, url, params = []) => {
29
29
  yml += ` - ${tag}\n`;
30
30
  }
31
31
  }
32
- yml += ` summary: ${service.Summary}\n`;
32
+ yml += ` summary: "${service.Summary}"\n`;
33
33
  const croneParams = [...params];
34
34
  for (const path of service.Endpoint.split('/')) {
35
35
  if (path.startsWith('{') && path.endsWith('}')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-mvc-service",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/n-daira/npm-pack_mvc-service#readme",
6
6
  "bugs": {