add response to the endpoint map
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -36,6 +36,7 @@ export type {{#lambda.pascalcase}}{{nickname}}{{/lambda.pascalcase}} = {
|
||||
{{/headerParams}}
|
||||
},
|
||||
{{/hasHeaderParams}}
|
||||
response: {{#responses}} {{{dataType}}}{{^dataType}}void{{/dataType}} {{^-last}} | {{/-last}} {{/responses}}
|
||||
}
|
||||
{{/operation}}
|
||||
|
||||
|
||||
@@ -18,9 +18,19 @@
|
||||
// * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. *
|
||||
// ******************************************************************
|
||||
import { AnalyzeLocationRequest } from '../models/AnalyzeLocationRequest.model';
|
||||
import { AnalyzeLocationResponse } from '../models/AnalyzeLocationResponse.model';
|
||||
import { CreateLocation201Response } from '../models/CreateLocation201Response.model';
|
||||
import { CreateLocationRequest } from '../models/CreateLocationRequest.model';
|
||||
import { EntitiesBatchResponse } from '../models/EntitiesBatchResponse.model';
|
||||
import { EntitiesQueryResponse } from '../models/EntitiesQueryResponse.model';
|
||||
import { Entity } from '../models/Entity.model';
|
||||
import { EntityAncestryResponse } from '../models/EntityAncestryResponse.model';
|
||||
import { EntityFacetsResponse } from '../models/EntityFacetsResponse.model';
|
||||
import { GetEntitiesByRefsRequest } from '../models/GetEntitiesByRefsRequest.model';
|
||||
import { GetLocations200ResponseInner } from '../models/GetLocations200ResponseInner.model';
|
||||
import { Location } from '../models/Location.model';
|
||||
import { RefreshEntityRequest } from '../models/RefreshEntityRequest.model';
|
||||
import { ValidateEntity400Response } from '../models/ValidateEntity400Response.model';
|
||||
import { ValidateEntityRequest } from '../models/ValidateEntityRequest.model';
|
||||
|
||||
/**
|
||||
@@ -28,6 +38,7 @@ import { ValidateEntityRequest } from '../models/ValidateEntityRequest.model';
|
||||
*/
|
||||
export type AnalyzeLocation = {
|
||||
body: AnalyzeLocationRequest;
|
||||
response: AnalyzeLocationResponse | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -37,6 +48,7 @@ export type CreateLocation = {
|
||||
query: {
|
||||
dryRun?: string;
|
||||
};
|
||||
response: CreateLocation201Response | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -45,6 +57,7 @@ export type DeleteEntityByUid = {
|
||||
path: {
|
||||
uid: string;
|
||||
};
|
||||
response: void | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -53,6 +66,7 @@ export type DeleteLocation = {
|
||||
path: {
|
||||
id: string;
|
||||
};
|
||||
response: void | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -66,6 +80,7 @@ export type GetEntities = {
|
||||
after?: string;
|
||||
order?: Array<string>;
|
||||
};
|
||||
response: Array<Entity> | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -81,6 +96,7 @@ export type GetEntitiesByQuery = {
|
||||
fullTextFilterTerm?: string;
|
||||
fullTextFilterFields?: Array<string>;
|
||||
};
|
||||
response: EntitiesQueryResponse | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -90,6 +106,7 @@ export type GetEntitiesByRefs = {
|
||||
query: {
|
||||
filter?: Array<string>;
|
||||
};
|
||||
response: EntitiesBatchResponse | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -100,6 +117,7 @@ export type GetEntityAncestryByName = {
|
||||
namespace: string;
|
||||
name: string;
|
||||
};
|
||||
response: EntityAncestryResponse | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -110,6 +128,7 @@ export type GetEntityByName = {
|
||||
namespace: string;
|
||||
name: string;
|
||||
};
|
||||
response: Entity | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -118,6 +137,7 @@ export type GetEntityByUid = {
|
||||
path: {
|
||||
uid: string;
|
||||
};
|
||||
response: Entity | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -127,6 +147,7 @@ export type GetEntityFacets = {
|
||||
facet: Array<string>;
|
||||
filter?: Array<string>;
|
||||
};
|
||||
response: EntityFacetsResponse | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -135,6 +156,7 @@ export type GetLocation = {
|
||||
path: {
|
||||
id: string;
|
||||
};
|
||||
response: Location | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
@@ -145,22 +167,27 @@ export type GetLocationByEntity = {
|
||||
namespace: string;
|
||||
name: string;
|
||||
};
|
||||
response: Location | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type GetLocations = {};
|
||||
export type GetLocations = {
|
||||
response: Array<GetLocations200ResponseInner> | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type RefreshEntity = {
|
||||
body: RefreshEntityRequest;
|
||||
response: void | Error | Error;
|
||||
};
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export type ValidateEntity = {
|
||||
body: ValidateEntityRequest;
|
||||
response: void | ValidateEntity400Response;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
// ******************************************************************
|
||||
// * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. *
|
||||
// ******************************************************************
|
||||
import { Query200Response } from '../models/Query200Response.model';
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -29,6 +30,7 @@ export type Query = {
|
||||
pageCursor?: string;
|
||||
pageLimit?: number;
|
||||
};
|
||||
response: Query200Response | Error;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user