Browse Source

feat: update ApiDefinition interface

pull/5137/head
Arman Ozak 6 years ago
parent
commit
e8354eeeeb
  1. 12
      npm/ng-packs/packages/schematics/src/models/api-definition.ts

12
npm/ng-packs/packages/schematics/src/models/api-definition.ts

@ -4,12 +4,12 @@ export interface ApiDefinition {
}
export interface Type {
baseType?: string;
baseType: string | null;
isEnum: boolean;
enumNames?: string[];
enumValues?: number[];
genericArguments?: string[];
properties?: Property[];
enumNames: string[] | null;
enumValues: number[] | null;
genericArguments: string[] | null;
properties: Property[] | null;
}
export interface Property {
@ -62,7 +62,7 @@ export interface Parameter {
typeSimple: string;
isOptional: boolean;
defaultValue: any;
constraintTypes?: string[];
constraintTypes: string[] | null;
bindingSourceId: string;
descriptorName: string;
}

Loading…
Cancel
Save