mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Merge pull request #404 from Wolfer/patch-1
Allow use #/components/parameters and other in inherited $refs
This commit is contained in:
commit
0169fbab66
@ -66,7 +66,7 @@ module Rswag
|
||||
swagger_doc.slice(:definitions)
|
||||
else
|
||||
components = swagger_doc[:components] || {}
|
||||
{ components: { schemas: components[:schemas] } }
|
||||
{ components: components }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user