Class: Committee::Drivers::OpenAPI3
- Defined in:
- lib/committee/drivers/open_api_3.rb
Defined Under Namespace
Classes: Schema
Instance Method Summary collapse
- #default_allow_get_body ⇒ Object
- #default_coerce_date_times ⇒ Object
- 
  
    
      #default_coerce_form_params  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Whether parameters that were form-encoded will be coerced by default. 
- 
  
    
      #default_path_params  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Whether parameters in a request’s path will be considered and coerced by default. 
- 
  
    
      #default_query_params  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Whether parameters in a request’s query string will be considered and coerced by default. 
- #default_validate_success_only ⇒ Object
- #name ⇒ Object
- #parse(open_api) ⇒ Committee::Drivers::OpenAPI3::Schema
- #schema_class ⇒ Object
Instance Method Details
#default_allow_get_body ⇒ Object
| 12 13 14 | # File 'lib/committee/drivers/open_api_3.rb', line 12 def default_allow_get_body false end | 
#default_coerce_date_times ⇒ Object
| 3 4 5 | # File 'lib/committee/drivers/open_api_3.rb', line 3 def default_coerce_date_times true end | 
#default_coerce_form_params ⇒ Object
Whether parameters that were form-encoded will be coerced by default.
| 8 9 10 | # File 'lib/committee/drivers/open_api_3.rb', line 8 def default_coerce_form_params true end | 
#default_path_params ⇒ Object
Whether parameters in a request’s path will be considered and coerced by default.
| 18 19 20 | # File 'lib/committee/drivers/open_api_3.rb', line 18 def default_path_params true end | 
#default_query_params ⇒ Object
Whether parameters in a request’s query string will be considered and coerced by default.
| 24 25 26 | # File 'lib/committee/drivers/open_api_3.rb', line 24 def default_query_params true end | 
#default_validate_success_only ⇒ Object
| 28 29 30 | # File 'lib/committee/drivers/open_api_3.rb', line 28 def default_validate_success_only false end | 
#name ⇒ Object
| 32 33 34 | # File 'lib/committee/drivers/open_api_3.rb', line 32 def name :open_api_3 end | 
#parse(open_api) ⇒ Committee::Drivers::OpenAPI3::Schema
| 37 38 39 | # File 'lib/committee/drivers/open_api_3.rb', line 37 def parse(open_api) schema_class.new(self, open_api) end | 
#schema_class ⇒ Object
| 41 42 43 | # File 'lib/committee/drivers/open_api_3.rb', line 41 def schema_class Committee::Drivers::OpenAPI3::Schema end |