|
525 | 525 | } |
526 | 526 | } |
527 | 527 | }, |
528 | | - "/api/context": { |
| 528 | + "/api/meta": { |
529 | 529 | "get": { |
530 | | - "summary": "Get Api Context", |
531 | | - "description": "Get the context", |
532 | | - "operationId": "get_api_context_api_context_get", |
| 530 | + "summary": "Get Api Meta", |
| 531 | + "description": "Get the metadata", |
| 532 | + "operationId": "get_api_meta_api_meta_get", |
533 | 533 | "responses": { |
534 | 534 | "200": { |
535 | 535 | "description": "Successful Response", |
536 | 536 | "content": { |
537 | 537 | "application/json": { |
538 | | - "schema": { "$ref": "#/components/schemas/Context" } |
| 538 | + "schema": { "$ref": "#/components/schemas/Meta" } |
539 | 539 | } |
540 | 540 | } |
541 | 541 | } |
|
788 | 788 | "required": ["name", "type"], |
789 | 789 | "title": "Column" |
790 | 790 | }, |
791 | | - "Context": { |
792 | | - "properties": { |
793 | | - "concurrent_tasks": { |
794 | | - "type": "integer", |
795 | | - "title": "Concurrent Tasks" |
796 | | - }, |
797 | | - "engine_adapter": { "type": "string", "title": "Engine Adapter" }, |
798 | | - "time_column_format": { |
799 | | - "type": "string", |
800 | | - "title": "Time Column Format" |
801 | | - }, |
802 | | - "scheduler": { "type": "string", "title": "Scheduler" }, |
803 | | - "models": { |
804 | | - "items": { "type": "string" }, |
805 | | - "type": "array", |
806 | | - "title": "Models", |
807 | | - "default": [] |
808 | | - }, |
809 | | - "config": { "type": "string", "title": "Config" } |
810 | | - }, |
811 | | - "type": "object", |
812 | | - "required": [ |
813 | | - "concurrent_tasks", |
814 | | - "engine_adapter", |
815 | | - "time_column_format", |
816 | | - "scheduler", |
817 | | - "config" |
818 | | - ], |
819 | | - "title": "Context" |
820 | | - }, |
821 | 791 | "ContextEnvironment": { |
822 | 792 | "properties": { |
823 | 793 | "environment": { "type": "string", "title": "Environment" }, |
|
1067 | 1037 | "type": "object", |
1068 | 1038 | "title": "LineageColumn" |
1069 | 1039 | }, |
| 1040 | + "Meta": { |
| 1041 | + "properties": { "version": { "type": "string", "title": "Version" } }, |
| 1042 | + "type": "object", |
| 1043 | + "required": ["version"], |
| 1044 | + "title": "Meta" |
| 1045 | + }, |
1070 | 1046 | "Model": { |
1071 | 1047 | "properties": { |
1072 | 1048 | "name": { "type": "string", "title": "Name" }, |
|
0 commit comments