Copiable Operation ID For Swagger UI API Docs

Add operation ID, as well as an icon to copy the operation ID, to all API operations on any Swagger UI page

As of 2023-03-30. See the latest version.

Author
tomchen
Ratings
0 0 0
Version
1.0
Created
2023-03-30
Updated
2023-03-30
Size
2.16 KB
License
MIT
Applies to
All sites

Add operation ID, as well as an icon to copy the operation ID, to all API operations on any Swagger UI page.

For example, https://petstore.swagger.io/.

For https://petstore.swagger.io/?displayOperationId=1, where the operation IDs are already added, the script will just add an icon to copy the operation ID.