Sha256: 8398a13446ff48b5007f7b5918e8b5470c47a9c14ab53b0ceddd3e3e03c46945
Contents?: true
Size: 477 Bytes
Versions: 16
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true class << RSpec::OpenAPI::DefaultSchema = Object.new def build(title) spec = { openapi: '3.0.3', info: { title: title, version: RSpec::OpenAPI.application_version, }, servers: RSpec::OpenAPI.servers, paths: {}, } if RSpec::OpenAPI.security_schemes.present? spec[:components] = { securitySchemes: RSpec::OpenAPI.security_schemes, } end spec.freeze end end
Version data entries
16 entries across 16 versions & 1 rubygems