Error of migration in the operation level.

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

Properties

messages: string[]

List of error messages (reasons).

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

Method of the operation.

If the OpenApi.IOperation.method is not one of below type values, the operation would be ignored in the migration process for the RPC (Remote Procedure Call) function.

operation: () => OpenApi.IOperation

Target operation causing the error.

path: string

Original path from the OpenAPI document.