kaxil commented on a change in pull request #14280:
URL: https://github.com/apache/airflow/pull/14280#discussion_r578537580



##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -1380,7 +1380,99 @@ paths:
             application/json:
               schema:
                 $ref: '#/components/schemas/VersionInfo'
-
+  /plugins:
+    get:
+      summary: Get a list of loaded plugins
+      x-openapi-router-controller: 
airflow.api_connexion.endpoints.plugin_endpoint
+      operationId: get_plugins
+      tags: [Plugin]
+      responses:
+        '200':
+          description: Success
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  number:
+                    type: string
+                    description: The plugin number
+                  name:
+                    type: string
+                    description: The name of the plugin
+                  attrs:
+                    type: object
+                    properties:
+                      hooks:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The plugin hooks
+                      executors:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The plugin executors
+                      macros:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The plugin macros
+                      admin_views:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The plugins admin views
+                      flask_blueprints:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The flask blueprints
+                      menu_links:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The menu links
+                      appbuilder_views:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The appuilder views
+                      appbuilder_menu_items:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The appbuilder menu items
+                      global_operator_extra_links:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: The global operator extra links
+                      operator_extra_links:
+                        type: array
+                        items:
+                          type: string
+                          nullable: true
+                        description: Operator extra link

Review comment:
       ```suggestion
                           description: Operator extra links
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to