v1
latestOpenAPI 3.0.42026-07-264372153.8 KBOpenApi
Generate Angular HTTP client from OpenAPI spec
post/api/openapi/angular
Request body
openApiSpecstring nullable
Inline OpenAPI spec content (YAML or JSON). Either this or OpenApiSpecUrl is required.
openApiSpecUrlstring nullable
URL to fetch the OpenAPI spec from. Either this or OpenApiSpec is required.
strictValidationboolean nullable
documentationboolean nullable
optionsObjectThresholdinteger nullable
typeMappingsobject nullable
Override the target language type for an OpenAPI primitive/format. Keys are mapping slugs (int64, decimal, date-time, date) — see TypeMappingRegistry for accepted slug→target combos.
includeTagsstring[] nullable
Only generate operations whose service tag matches one of these values (case-insensitive).
baseUrlTokenstring nullable
useInjectFunctionboolean nullable
providedInstring nullable
serviceDecorator'AutoProvided' | 'ComponentScoped'
Selects Angular 22's @Service decorator (instead of @Injectable) and its provisioning scope. Leave the request property null to keep the default @Injectable behavior. Setting it auto-enables inject()-based DI and supersedes ProvidedIn on the engine's last-wins basis. Requires Angular 22+.
useHttpResourcesboolean nullable
httpResourceTriggerboolean nullable
responseDateTransformationboolean nullable
useInterceptorsboolean nullable
Response
OK
executionTimeInMillisecondsinteger
warningsstring[] nullable