diff options
author | 2017-09-04 09:32:08 +0800 | |
---|---|---|
committer | 2017-09-04 15:16:37 +0800 | |
commit | 76f9fa54825d98013182524d16290f04e3c9398a (patch) | |
tree | 99d46a4107b0c037a398ec34aac7561690be0ba0 /sdc-workflow-designer-ui/src/app/model/workflow | |
parent | c0d3e994ef109b4b0e089187f1db397ff3306613 (diff) |
support swagger for microservice definition
microservice definition follow swagger specification.
Issue-ID: SDC-271
Change-Id: I300732cbdc56791981b1aa626522c0f6b0b2a4c7
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/model/workflow')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts b/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts index 025f7a10..b4fc1c10 100644 --- a/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts +++ b/sdc-workflow-designer-ui/src/app/model/workflow/microservice.ts @@ -11,10 +11,11 @@ */
import { Injectable } from '@angular/core';
+import { Swagger } from "../swagger";
/**
* Microservice
*/
export class Microservice {
- constructor(public name: string, public version: string, public swagger: any, public definition: string) {}
+ constructor(public name: string, public version: string, public swagger: Swagger, public definition: string) {}
}
|