|
11 | 11 | { |
12 | 12 | "name": "RunnerExtension" |
13 | 13 | }, |
| 14 | + { |
| 15 | + "name": "UIExtension" |
| 16 | + }, |
14 | 17 | { |
15 | 18 | "name": "ThemeExtension" |
16 | 19 | }, |
|
70 | 73 | ] |
71 | 74 | } |
72 | 75 | }, |
| 76 | + "/api/v1/bindings": { |
| 77 | + "get": { |
| 78 | + "operationId": "ThemeExtension_GetBindings", |
| 79 | + "responses": { |
| 80 | + "200": { |
| 81 | + "description": "A successful response.", |
| 82 | + "schema": { |
| 83 | + "$ref": "#/definitions/serverSimpleList" |
| 84 | + } |
| 85 | + }, |
| 86 | + "default": { |
| 87 | + "description": "An unexpected error response.", |
| 88 | + "schema": { |
| 89 | + "$ref": "#/definitions/rpcStatus" |
| 90 | + } |
| 91 | + } |
| 92 | + }, |
| 93 | + "tags": [ |
| 94 | + "ThemeExtension" |
| 95 | + ] |
| 96 | + } |
| 97 | + }, |
| 98 | + "/api/v1/bindings/{name}": { |
| 99 | + "get": { |
| 100 | + "operationId": "ThemeExtension_GetBinding", |
| 101 | + "responses": { |
| 102 | + "200": { |
| 103 | + "description": "A successful response.", |
| 104 | + "schema": { |
| 105 | + "$ref": "#/definitions/serverCommonResult" |
| 106 | + } |
| 107 | + }, |
| 108 | + "default": { |
| 109 | + "description": "An unexpected error response.", |
| 110 | + "schema": { |
| 111 | + "$ref": "#/definitions/rpcStatus" |
| 112 | + } |
| 113 | + } |
| 114 | + }, |
| 115 | + "parameters": [ |
| 116 | + { |
| 117 | + "name": "name", |
| 118 | + "in": "path", |
| 119 | + "required": true, |
| 120 | + "type": "string" |
| 121 | + } |
| 122 | + ], |
| 123 | + "tags": [ |
| 124 | + "ThemeExtension" |
| 125 | + ] |
| 126 | + } |
| 127 | + }, |
73 | 128 | "/api/v1/codeGenerators": { |
74 | 129 | "get": { |
75 | 130 | "summary": "code generator", |
|
333 | 388 | ] |
334 | 389 | } |
335 | 390 | }, |
| 391 | + "/api/v1/extension/menus": { |
| 392 | + "get": { |
| 393 | + "operationId": "UIExtension_GetMenus", |
| 394 | + "responses": { |
| 395 | + "200": { |
| 396 | + "description": "A successful response.", |
| 397 | + "schema": { |
| 398 | + "$ref": "#/definitions/serverMenuList" |
| 399 | + } |
| 400 | + }, |
| 401 | + "default": { |
| 402 | + "description": "An unexpected error response.", |
| 403 | + "schema": { |
| 404 | + "$ref": "#/definitions/rpcStatus" |
| 405 | + } |
| 406 | + } |
| 407 | + }, |
| 408 | + "tags": [ |
| 409 | + "UIExtension" |
| 410 | + ] |
| 411 | + } |
| 412 | + }, |
| 413 | + "/api/v1/extension/pages/{name}/css": { |
| 414 | + "get": { |
| 415 | + "operationId": "UIExtension_GetPageOfCSS", |
| 416 | + "responses": { |
| 417 | + "200": { |
| 418 | + "description": "A successful response.", |
| 419 | + "schema": { |
| 420 | + "$ref": "#/definitions/serverCommonResult" |
| 421 | + } |
| 422 | + }, |
| 423 | + "default": { |
| 424 | + "description": "An unexpected error response.", |
| 425 | + "schema": { |
| 426 | + "$ref": "#/definitions/rpcStatus" |
| 427 | + } |
| 428 | + } |
| 429 | + }, |
| 430 | + "parameters": [ |
| 431 | + { |
| 432 | + "name": "name", |
| 433 | + "in": "path", |
| 434 | + "required": true, |
| 435 | + "type": "string" |
| 436 | + } |
| 437 | + ], |
| 438 | + "tags": [ |
| 439 | + "UIExtension" |
| 440 | + ] |
| 441 | + } |
| 442 | + }, |
| 443 | + "/api/v1/extension/pages/{name}/js": { |
| 444 | + "get": { |
| 445 | + "operationId": "UIExtension_GetPageOfJS", |
| 446 | + "responses": { |
| 447 | + "200": { |
| 448 | + "description": "A successful response.", |
| 449 | + "schema": { |
| 450 | + "$ref": "#/definitions/serverCommonResult" |
| 451 | + } |
| 452 | + }, |
| 453 | + "default": { |
| 454 | + "description": "An unexpected error response.", |
| 455 | + "schema": { |
| 456 | + "$ref": "#/definitions/rpcStatus" |
| 457 | + } |
| 458 | + } |
| 459 | + }, |
| 460 | + "parameters": [ |
| 461 | + { |
| 462 | + "name": "name", |
| 463 | + "in": "path", |
| 464 | + "required": true, |
| 465 | + "type": "string" |
| 466 | + } |
| 467 | + ], |
| 468 | + "tags": [ |
| 469 | + "UIExtension" |
| 470 | + ] |
| 471 | + } |
| 472 | + }, |
336 | 473 | "/api/v1/extension/run": { |
337 | 474 | "post": { |
338 | 475 | "operationId": "RunnerExtension_Run", |
|
1225 | 1362 | ] |
1226 | 1363 | } |
1227 | 1364 | }, |
| 1365 | + "/api/v1/mock/log": { |
| 1366 | + "get": { |
| 1367 | + "operationId": "Mock_LogWatch", |
| 1368 | + "responses": { |
| 1369 | + "200": { |
| 1370 | + "description": "A successful response.(streaming responses)", |
| 1371 | + "schema": { |
| 1372 | + "type": "object", |
| 1373 | + "properties": { |
| 1374 | + "result": { |
| 1375 | + "$ref": "#/definitions/serverCommonResult" |
| 1376 | + }, |
| 1377 | + "error": { |
| 1378 | + "$ref": "#/definitions/rpcStatus" |
| 1379 | + } |
| 1380 | + }, |
| 1381 | + "title": "Stream result of serverCommonResult" |
| 1382 | + } |
| 1383 | + }, |
| 1384 | + "default": { |
| 1385 | + "description": "An unexpected error response.", |
| 1386 | + "schema": { |
| 1387 | + "$ref": "#/definitions/rpcStatus" |
| 1388 | + } |
| 1389 | + } |
| 1390 | + }, |
| 1391 | + "tags": [ |
| 1392 | + "Mock" |
| 1393 | + ] |
| 1394 | + } |
| 1395 | + }, |
1228 | 1396 | "/api/v1/mock/reload": { |
1229 | 1397 | "post": { |
1230 | 1398 | "operationId": "Mock_Reload", |
|
1377 | 1545 | ] |
1378 | 1546 | } |
1379 | 1547 | }, |
| 1548 | + "/api/v1/schemas/{name}": { |
| 1549 | + "get": { |
| 1550 | + "operationId": "Runner_GetSchema", |
| 1551 | + "responses": { |
| 1552 | + "200": { |
| 1553 | + "description": "A successful response.", |
| 1554 | + "schema": { |
| 1555 | + "$ref": "#/definitions/serverCommonResult" |
| 1556 | + } |
| 1557 | + }, |
| 1558 | + "default": { |
| 1559 | + "description": "An unexpected error response.", |
| 1560 | + "schema": { |
| 1561 | + "$ref": "#/definitions/rpcStatus" |
| 1562 | + } |
| 1563 | + } |
| 1564 | + }, |
| 1565 | + "parameters": [ |
| 1566 | + { |
| 1567 | + "name": "name", |
| 1568 | + "in": "path", |
| 1569 | + "required": true, |
| 1570 | + "type": "string" |
| 1571 | + }, |
| 1572 | + { |
| 1573 | + "name": "kind", |
| 1574 | + "in": "query", |
| 1575 | + "required": false, |
| 1576 | + "type": "string" |
| 1577 | + } |
| 1578 | + ], |
| 1579 | + "tags": [ |
| 1580 | + "Runner" |
| 1581 | + ] |
| 1582 | + } |
| 1583 | + }, |
1380 | 1584 | "/api/v1/secrets": { |
1381 | 1585 | "get": { |
1382 | 1586 | "summary": "secret related interfaces", |
|
2648 | 2852 | ] |
2649 | 2853 | } |
2650 | 2854 | }, |
2651 | | - "/api/v1/theme/{name}": { |
| 2855 | + "/api/v1/themes": { |
2652 | 2856 | "get": { |
2653 | | - "operationId": "ThemeExtension_GetTheme", |
| 2857 | + "operationId": "ThemeExtension_GetThemes", |
2654 | 2858 | "responses": { |
2655 | 2859 | "200": { |
2656 | 2860 | "description": "A successful response.", |
2657 | 2861 | "schema": { |
2658 | | - "$ref": "#/definitions/serverCommonResult" |
| 2862 | + "$ref": "#/definitions/serverSimpleList" |
2659 | 2863 | } |
2660 | 2864 | }, |
2661 | 2865 | "default": { |
|
2665 | 2869 | } |
2666 | 2870 | } |
2667 | 2871 | }, |
2668 | | - "parameters": [ |
2669 | | - { |
2670 | | - "name": "name", |
2671 | | - "in": "path", |
2672 | | - "required": true, |
2673 | | - "type": "string" |
2674 | | - } |
2675 | | - ], |
2676 | 2872 | "tags": [ |
2677 | 2873 | "ThemeExtension" |
2678 | 2874 | ] |
2679 | 2875 | } |
2680 | 2876 | }, |
2681 | | - "/api/v1/themes": { |
| 2877 | + "/api/v1/themes/{name}": { |
2682 | 2878 | "get": { |
2683 | | - "operationId": "ThemeExtension_GetThemes", |
| 2879 | + "operationId": "ThemeExtension_GetTheme", |
2684 | 2880 | "responses": { |
2685 | 2881 | "200": { |
2686 | 2882 | "description": "A successful response.", |
2687 | 2883 | "schema": { |
2688 | | - "$ref": "#/definitions/serverSimpleList" |
| 2884 | + "$ref": "#/definitions/serverCommonResult" |
2689 | 2885 | } |
2690 | 2886 | }, |
2691 | 2887 | "default": { |
|
2695 | 2891 | } |
2696 | 2892 | } |
2697 | 2893 | }, |
| 2894 | + "parameters": [ |
| 2895 | + { |
| 2896 | + "name": "name", |
| 2897 | + "in": "path", |
| 2898 | + "required": true, |
| 2899 | + "type": "string" |
| 2900 | + } |
| 2901 | + ], |
2698 | 2902 | "tags": [ |
2699 | 2903 | "ThemeExtension" |
2700 | 2904 | ] |
|
2915 | 3119 | "type": "string" |
2916 | 3120 | }, |
2917 | 3121 | "offset": { |
2918 | | - "type": "integer", |
2919 | | - "format": "int32" |
| 3122 | + "type": "string", |
| 3123 | + "format": "int64" |
2920 | 3124 | }, |
2921 | 3125 | "limit": { |
2922 | | - "type": "integer", |
2923 | | - "format": "int32" |
| 3126 | + "type": "string", |
| 3127 | + "format": "int64" |
2924 | 3128 | } |
2925 | 3129 | } |
2926 | 3130 | }, |
|
3133 | 3337 | } |
3134 | 3338 | } |
3135 | 3339 | }, |
| 3340 | + "serverMenu": { |
| 3341 | + "type": "object", |
| 3342 | + "properties": { |
| 3343 | + "name": { |
| 3344 | + "type": "string" |
| 3345 | + }, |
| 3346 | + "index": { |
| 3347 | + "type": "string" |
| 3348 | + }, |
| 3349 | + "icon": { |
| 3350 | + "type": "string" |
| 3351 | + } |
| 3352 | + } |
| 3353 | + }, |
| 3354 | + "serverMenuList": { |
| 3355 | + "type": "object", |
| 3356 | + "properties": { |
| 3357 | + "data": { |
| 3358 | + "type": "array", |
| 3359 | + "items": { |
| 3360 | + "type": "object", |
| 3361 | + "$ref": "#/definitions/serverMenu" |
| 3362 | + } |
| 3363 | + } |
| 3364 | + } |
| 3365 | + }, |
3136 | 3366 | "serverMockConfig": { |
3137 | 3367 | "type": "object", |
3138 | 3368 | "properties": { |
|
0 commit comments