Sha256: 6b30185a50f4767df9c4cdfdd92c658115a3afff704ea4cbc264e06a78db34ae

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

class OpenAPI::Loader::Translator
  #
  # Wraps the schema and changes version of the OAS
  # @private
  #
  class ConvertVersion < SimpleDelegator
    def call
      delete "swagger"
      self["openapi"] = "3.0.0"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
open_api-loader-0.0.1 lib/open_api/loader/translator/convert_version.rb