import { BaseOpenApiV3_1ConverterNode, } from "../../BaseOpenApiV3_1Converter.node";
import { extendType } from "../../utils/extendType";
import { X_FERN_SDK_METHOD_NAME } from "./fernExtension.consts";
export class XFernSdkMethodNameConverterNode extends BaseOpenApiV3_1ConverterNode {
    sdkMethodName;
    constructor(args) {
        super(args);
        this.safeParse();
    }
    // This would be used to set a member on the node
    parse() {
        this.sdkMethodName = extendType(this.input)[X_FERN_SDK_METHOD_NAME];
    }
    convert() {
        return this.sdkMethodName;
    }
}
