lib/oas_rails.rb in oas_rails-0.5.0 vs lib/oas_rails.rb in oas_rails-0.6.0

- old
+ new

@@ -45,13 +45,15 @@ autoload :Reference, "oas_rails/spec/reference" end module YARD autoload :RequestBodyTag, 'oas_rails/yard/request_body_tag' + autoload :ExampleTag, 'oas_rails/yard/example_tag' autoload :RequestBodyExampleTag, 'oas_rails/yard/request_body_example_tag' autoload :ParameterTag, 'oas_rails/yard/parameter_tag' autoload :ResponseTag, 'oas_rails/yard/response_tag' + autoload :ResponseExampleTag, 'oas_rails/yard/response_example_tag' autoload :OasRailsFactory, 'oas_rails/yard/oas_rails_factory' end module Extractors autoload :RenderResponseExtractor, 'oas_rails/extractors/render_response_extractor' @@ -82,9 +84,10 @@ yard_tags = { 'Request body' => [:request_body, :with_request_body], 'Request body Example' => [:request_body_example, :with_request_body_example], 'Parameter' => [:parameter, :with_parameter], 'Response' => [:response, :with_response], + 'Response Example' => [:response_example, :with_response_example], 'Endpoint Tags' => [:tags], 'Summary' => [:summary], 'No Auth' => [:no_auth], 'Auth methods' => [:auth, :with_types] }