Skip to content

Commit bc870d2

Browse files
committed
(#806) Add API for uploading JSON contexts
1 parent d47aea0 commit bc870d2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/swagger_docs/models.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,16 @@ module Models # rubocop:todo Metrics/ModuleLength, Style/Documentation
562562
end
563563
end
564564
end
565+
566+
swagger_schema :JsonContext do
567+
property :context,
568+
description: 'The payload of the context',
569+
type: :object
570+
571+
property :url,
572+
description: 'The URL of the context',
573+
type: :string
574+
end
565575
end
566576
end
567577
end

0 commit comments

Comments
 (0)