class Apipie::Generator::Swagger::Config
Constants
- CONFIG_ATTRIBUTES
Public Class Methods
deprecated_methods()
click to toggle source
# File lib/apipie/generator/swagger/config.rb, line 68 def self.deprecated_methods CONFIG_ATTRIBUTES.map do |attribute| [ :"swagger_#{attribute}=", :"swagger_#{attribute}?", :"swagger_#{attribute}" ] end.flatten end
new()
click to toggle source
# File lib/apipie/generator/swagger/config.rb, line 53 def initialize @content_type_input = :form_data # this can be :json or :form_data @json_input_uses_refs = false @include_warning_tags = false @suppress_warnings = false # [105,100,102] @api_host = 'localhost:3000' @generate_x_computed_id_field = false @allow_additional_properties_in_response = false @responses_use_refs = true @schemes = [:https] @security_definitions = {} @global_security = [] @skip_default_tags = false end