ephraimbuddy commented on a change in pull request #14280:
URL: https://github.com/apache/airflow/pull/14280#discussion_r581723816
##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -1380,7 +1381,96 @@ 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
+ 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
Review comment:
I removed it. I saw that they wasn't in plugins command and since this
is new endpoint, letting it come without them looks good to me?
----------------------------------------------------------------
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]