/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import { OpenAPI } from '../core/OpenAPI'; import { request as __request } from '../core/request'; export class DefaultService { /** * Unknown Calc * Returns 404 for any /v1/calc/{cat}/{kind} not registered above. * * Note: this only fires for combinations NOT registered by the loop above — * FastAPI matches explicit routes first. * @returns any Successful Response * @throws ApiError */ public static unknownCalcV1CalcCategoryKindPost({ category, kind, }: { category: string, kind: string, }): CancelablePromise { return __request(OpenAPI, { method: 'POST', url: '/v1/calc/{category}/{kind}', path: { 'category': category, 'kind': kind, }, errors: { 422: `Validation Error`, }, }); } }