AdditionalApi
@aurorajs.dev/catalyst-cli / generator/domain/model / AdditionalApi
Interface: AdditionalApi
Section titled “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
Section titled “Properties”httpMethod
Section titled “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
Section titled “resolverType”resolverType:
ResolverType
Defined in: generator/domain/model.ts:248