mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-20 22:13:25 +00:00
Swagger/openapi schema mega fixes and Cypress validation/enforcement
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"openapi": "3.1.0",
|
||||
"info": {
|
||||
"title": "Nginx Proxy Manager API",
|
||||
"version": "2.x.x"
|
||||
"version": "2.x.x",
|
||||
"description": "This is the official API documentation for Nginx Proxy Manager.\n\nMost endpoints require authentication via Bearer Token (JWT). You can generate a token by logging in via the `POST /tokens` endpoint.\n\nFor more information, visit the [Nginx Proxy Manager Documentation](https://nginxproxymanager.com)."
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
@@ -11,13 +12,59 @@
|
||||
],
|
||||
"components": {
|
||||
"securitySchemes": {
|
||||
"bearerAuth": {
|
||||
"type": "http",
|
||||
"scheme": "bearer",
|
||||
"bearerFormat": "JWT"
|
||||
}
|
||||
"$ref": "./components/security-schemes.json"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "public",
|
||||
"description": "Endpoints that do not require authentication"
|
||||
},
|
||||
{
|
||||
"name": "audit-log",
|
||||
"description": "Endpoints related to Audit Logs"
|
||||
},
|
||||
{
|
||||
"name": "access-lists",
|
||||
"description": "Endpoints related to Access Lists"
|
||||
},
|
||||
{
|
||||
"name": "certificates",
|
||||
"description": "Endpoints related to Certificates"
|
||||
},
|
||||
{
|
||||
"name": "404-hosts",
|
||||
"description": "Endpoints related to 404 Hosts"
|
||||
},
|
||||
{
|
||||
"name": "proxy-hosts",
|
||||
"description": "Endpoints related to Proxy Hosts"
|
||||
},
|
||||
{
|
||||
"name": "redirection-hosts",
|
||||
"description": "Endpoints related to Redirection Hosts"
|
||||
},
|
||||
{
|
||||
"name": "streams",
|
||||
"description": "Endpoints related to Streams"
|
||||
},
|
||||
{
|
||||
"name": "reports",
|
||||
"description": "Endpoints for viewing reports"
|
||||
},
|
||||
{
|
||||
"name": "settings",
|
||||
"description": "Endpoints for managing application settings"
|
||||
},
|
||||
{
|
||||
"name": "tokens",
|
||||
"description": "Endpoints for managing authentication tokens"
|
||||
},
|
||||
{
|
||||
"name": "users",
|
||||
"description": "Endpoints for managing users"
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"/": {
|
||||
"get": {
|
||||
|
||||
Reference in New Issue
Block a user