class OasRails::Builders::RequestBodyBuilder
def detect_request_body(oas_route)
def detect_request_body(oas_route) return unless (klass = Utils.find_model_from_route(oas_route.controller)) from_model_class(klass:, required: true) end
def detect_request_body(oas_route) return unless (klass = Utils.find_model_from_route(oas_route.controller)) from_model_class(klass:, required: true) end