lib/rswag3/specs/example_group_helpers.rb in rswag3-specs-0.0.1 vs lib/rswag3/specs/example_group_helpers.rb in rswag3-specs-0.0.2
- old
+ new
@@ -60,9 +60,13 @@
def schema(value)
metadata[:response][:schema] = value
end
+ def content(value)
+ metadata[:response][:content] = value
+ end
+
def header(name, attributes)
metadata[:response][:headers] ||= {}
metadata[:response][:headers][name] = attributes
end