Sha256: 1c22b543b727261ba0f72344504b5015b0567533e2bdf4f2dba01158acf82cf4
Contents?: true
Size: 1.14 KB
Versions: 7
Compression:
Stored size: 1.14 KB
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module SpeakeasyClientSDK module Operations class RegisterSchemaRequest < ::SpeakeasyClientSDK::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, ::SpeakeasyClientSDK::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: ::SpeakeasyClientSDK::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
7 entries across 7 versions & 1 rubygems