Browse Source

add jsonName to PropertyDef and ParameterInBody

pull/8013/head
Arman Ozak 6 years ago
parent
commit
a8a5f30e78
  1. 2
      npm/ng-packs/packages/schematics/src/models/api-definition.ts

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

@ -16,6 +16,7 @@ export interface Type {
export interface PropertyDef { export interface PropertyDef {
name: string; name: string;
jsonName: string | null;
type: string; type: string;
typeSimple: string; typeSimple: string;
isRequired: boolean; isRequired: boolean;
@ -61,6 +62,7 @@ export interface ParameterInSignature {
export interface ParameterInBody { export interface ParameterInBody {
nameOnMethod: string; nameOnMethod: string;
name: string; name: string;
jsonName: string | null;
type: string; type: string;
typeSimple: string; typeSimple: string;
isOptional: boolean; isOptional: boolean;

Loading…
Cancel
Save