Error occurred in the composition.

interface IError {
    messages: string[];
    method: "get" | "post" | "put" | "delete" | "head" | "patch";
    operation: () => OpenApi.IOperation;
    path: string;
    route: () => undefined | IHttpMigrateRoute;
}

Properties

messages: string[]

Error messages.

method: "get" | "post" | "put" | "delete" | "head" | "patch"

HTTP method of the endpoint.

operation: () => OpenApi.IOperation

Get the Swagger operation metadata.

Get the Swagger operation metadata, of the source.

path: string

Path of the endpoint.

route: () => undefined | IHttpMigrateRoute

Get the migration route metadata.

Get the migration route metadata, of the source.

If the property returns undefined, it means that the error has been occurred in the migration level, not of LLM application composition.

Type declaration