Class TypeScriptFetchClientCodegen.ExtendedCodegenOperation

    • Field Detail

      • contentTypeMerged

        public boolean contentTypeMerged
        Set by TypeScriptFetchClientCodegen.mergeContentTypeVariants(org.openapitools.codegen.model.OperationsMap) on an operation merged back from its content-type variants. Fields rather than vendor extensions: a mistyped `x-` key renders as nothing at all in a template, and CodegenOperation.hashCode() walks the extensions map, which these lists have no business being dragged through.
      • hasContentTypeRequestVariants

        public boolean hasContentTypeRequestVariants
        Set by TypeScriptFetchClientCodegen.mergeContentTypeVariants(org.openapitools.codegen.model.OperationsMap) on an operation merged back from its content-type variants. Fields rather than vendor extensions: a mistyped `x-` key renders as nothing at all in a template, and CodegenOperation.hashCode() walks the extensions map, which these lists have no business being dragged through.
      • hasContentTypeResponseVariants

        public boolean hasContentTypeResponseVariants
        Set by TypeScriptFetchClientCodegen.mergeContentTypeVariants(org.openapitools.codegen.model.OperationsMap) on an operation merged back from its content-type variants. Fields rather than vendor extensions: a mistyped `x-` key renders as nothing at all in a template, and CodegenOperation.hashCode() walks the extensions map, which these lists have no business being dragged through.
      • contentTypeMergedEnumParams

        public List<CodegenParameter> contentTypeMergedEnumParams
        Every enum parameter the merged request union references, across all the variants, deduplicated by the name of the type it declares. The enum declaration block walks this rather than allParams, which only holds the surviving variant's parameters.
    • Constructor Detail

      • ExtendedCodegenOperation

        public ExtendedCodegenOperation​(CodegenOperation o)