import { BaseOpenApiV3_1ConverterNode, } from "../../../BaseOpenApiV3_1Converter.node";
import { extendType } from "../../../utils/extendType";
import { X_FERN_BEARER_TOKEN_NAME } from "../fernExtension.consts";
export class XFernBearerTokenVariableNameConverterNode extends BaseOpenApiV3_1ConverterNode {
    tokenVariableName;
    constructor(args) {
        super(args);
        this.safeParse();
    }
    parse() {
        this.tokenVariableName =
            extendType(this.input)[X_FERN_BEARER_TOKEN_NAME];
    }
    convert() {
        return this.tokenVariableName;
    }
}
