You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/01/09 01:19:41 UTC

[kibble] 02/02: regenerate openapi yaml

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git

commit b3ecc22e5631728295a737f79dc65491ff6e72c8
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jan 9 02:19:29 2018 +0100

    regenerate openapi yaml
---
 api/yaml/openapi.yaml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/api/yaml/openapi.yaml b/api/yaml/openapi.yaml
index 135b4a1..6a903ac 100644
--- a/api/yaml/openapi.yaml
+++ b/api/yaml/openapi.yaml
@@ -130,6 +130,31 @@ components:
       required:
       - id
       - name
+    Phrase:
+      properties:
+        count:
+          description: The number of documents containing this as a key phrase
+          example: 25
+          type: integer
+        phrase:
+          description: The key phrase
+          example: Ponies are awesome
+          type: string
+      required:
+      - phrase
+      - count
+    PhraseList:
+      properties:
+        okay:
+          type: boolean
+        phrases:
+          description: A list of key phrases
+          items:
+            $ref: '#/components/schemas/Phrase'
+          type: array
+      required:
+      - okay
+      - phrases
     Sloc:
       properties:
         count:
@@ -1604,6 +1629,46 @@ paths:
       - cookieAuth: []
       summary: Shows trend data for a set of issue trackers over a given period of
         time
+  /api/mail/keyphrases:
+    get:
+      responses:
+        '200':
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/PhraseList'
+          description: 200 Response
+        default:
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: unexpected error
+      security:
+      - cookieAuth: []
+      summary: Shows the common key phrases in use on one or more mailing lists
+    post:
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/defaultWidgetArgs'
+      responses:
+        '200':
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/PhraseList'
+          description: 200 Response
+        default:
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: unexpected error
+      security:
+      - cookieAuth: []
+      summary: Shows the common key phrases in use on one or more mailing lists
   /api/mail/map:
     get:
       responses:

-- 
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.