Sha256: 162e00ae6c57598025754763bea4726ade53d1962038aea664c570aa4dc224c3

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

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

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class RegisterSchemaRequest < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The ID of the Api to get the schema for.
      field :api_id, ::String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
      # The schema file to upload provided as a multipart/form-data file segment.
      field :request_body, ::OpenApiSDK::Operations::RegisterSchemaRequestBody, { 'request': { 'media_type': 'multipart/form-data' } }
      # The version ID of the Api to delete metadata for.
      field :version_id, ::String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }


      sig { params(api_id: ::String, request_body: ::OpenApiSDK::Operations::RegisterSchemaRequestBody, version_id: ::String).void }
      def initialize(api_id: nil, request_body: nil, version_id: nil)
        @api_id = api_id
        @request_body = request_body
        @version_id = version_id
      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/registerschema_request.rb