[ZBXNEXT-6640] Integrated Swagger UI for Zabbix Rest API Created: 2021 Apr 26 Updated: 2024 Jul 04 |
|
Status: | Confirmed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Trivial |
Reporter: | Dimitri Bellini | Assignee: | Alexander Vladishev |
Resolution: | Unresolved | Votes: | 3 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Could be very to have the Zabbix RestAPI from a nice useful swagger interface, i know is not so important but could be a very great addiction for RestAPI user experience and documentation. Ref. : https://swagger.io/ |
Comments |
Comment by Matthew Steeves [ 2021 May 20 ] |
This would be awesome to have, because with the Swagger (now OpenAPI) spec published, the Zabbix API could be consumed by tools such as https://swagger.io/tools/swagger-codegen/ or https://github.com/Azure/autorest/. The beauty of being able to use the above tools would be that every time a new version of Zabbix is released, you don't have to manually update whatever Zabbix API module you use. e.g. I use psbbix to connect to Zabbix API using Powershell. I just finished scrolling through the list of API updates from 5.2 to 5.4, and it would mean A LOT of updates need to be done to the module. At least theoretically, if Zabbix published it's API spec in OpenAPI, I could just run the latest spec through the API code gen tool, and have an updated Powershell module, ready to take advantage of the latest updates to the API. |