From 6c7f5022863ccda8bcab36868c73c5a7a6756719 Mon Sep 17 00:00:00 2001 From: Todd Burry Date: Sat, 6 Jun 2020 23:33:50 -0400 Subject: [PATCH] =?UTF-8?q?Add=20Q&A=E2=80=99s=20expand=20parameters=20to?= =?UTF-8?q?=20the=20discussions=20endpoints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/vanilla/addons/issues/700. --- plugins/QnA/openapi/qna.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 plugins/QnA/openapi/qna.yml diff --git a/plugins/QnA/openapi/qna.yml b/plugins/QnA/openapi/qna.yml new file mode 100644 index 000000000..1f4d1c098 --- /dev/null +++ b/plugins/QnA/openapi/qna.yml @@ -0,0 +1,11 @@ +openapi: 3.0.2 +info: +components: + parameters: + # This is a partial schema to add Q&A options to the main schema. + DiscussionExpand: + schema: + items: + enum: + - acceptedAnswers +