AdditionalApi
@aurorajs.dev/catalyst-cli / generator/domain/model / AdditionalApi
Interface: AdditionalApi
Sección titulada «Interface: AdditionalApi»Defined in: generator/domain/model.ts:244
Metadata for an ad-hoc endpoint the generator should emit in addition to the CRUD defaults. Produces a GraphQL resolver or a REST controller route.
Properties
Sección titulada «Properties»httpMethod
Sección titulada «httpMethod»httpMethod:
HttpMethod
Defined in: generator/domain/model.ts:245
path:
string
Defined in: generator/domain/model.ts:247
URL path of the endpoint (REST) or operation name (GraphQL).
resolverType
Sección titulada «resolverType»resolverType:
ResolverType
Defined in: generator/domain/model.ts:248