Sha256: e6014c08a7dc02bf35003150b06c24e58f3e218a8e015ff60cee07e7a4834372

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  
    # The schema file to upload provided as a multipart/form-data file segment.
    class SuggestOpenAPIRequestBody < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig


      field :schema, ::OpenApiSDK::Operations::Schema, { 'multipart_form': { 'file': true } }

      field :opts, T.nilable(::OpenApiSDK::Shared::SuggestOptsOld), { 'multipart_form': { 'field_name': 'opts', 'json': true } }


      sig { params(schema: ::OpenApiSDK::Operations::Schema, opts: T.nilable(::OpenApiSDK::Shared::SuggestOptsOld)).void }
      def initialize(schema: nil, opts: nil)
        @schema = schema
        @opts = opts
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.24 lib/open_api_sdk/models/operations/suggestopenapi_requestbody.rb