From 63b0703ae895cec416f8e097b69acb1a42cf6947 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 15 Jun 2022 18:29:56 -0700 Subject: [PATCH] fix for regular spec Signed-off-by: Jess Frazelle --- generate/generate.py | 29 +- kittycad/api/api-calls/get_async_operation.py | 18 +- kittycad/api/file/get_file_conversion.py | 18 +- .../api/file/get_file_conversion_for_user.py | 18 +- spec.json | 430 ++++++++++++++++-- 5 files changed, 427 insertions(+), 86 deletions(-) diff --git a/generate/generate.py b/generate/generate.py index 0a90ca01d..d8461c72d 100755 --- a/generate/generate.py +++ b/generate/generate.py @@ -309,8 +309,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio # We want to parse each of the possible types. f.write("\t\tdata = response.json()\n") for index, one_of in enumerate(schema['oneOf']): - ref = one_of['$ref'].replace( - '#/components/schemas/', '') + ref = getOneOfRefType(one_of) f.write("\t\ttry:\n") f.write( "\t\t\tif not isinstance(data, dict):\n") @@ -660,25 +659,14 @@ def generateType(path: str, name: str, schema: dict, data: dict): # Skip it since we will already have generated it. return elif 'oneOf' in schema: - generateOneOfType(file_path, name, schema, data) + # Skip it since we will already have generated it. + return else: print(" schema: ", [schema]) print(" unsupported type: ", name) raise Exception(" unsupported type: ", name) -def generateOneOfType(path: str, name: str, schema: dict, data): - for t in schema['oneOf']: - # Get the name for the reference. - if '$ref' in t: - name = t['$ref'].replace('#/components/schemas/', '') - generateType(path, name, t, data) - else: - print(" schema: ", [t]) - print(" oneOf must be a ref: ", name) - raise Exception(" oneOf must be a ref ", name) - - def generateStringType(path: str, name: str, schema: dict, type_name: str): print("generating type: ", name, " at: ", path) print(" schema: ", [schema]) @@ -1370,8 +1358,7 @@ def getEndpointRefs(endpoint: dict, data: dict) -> [str]: schema = data['components']['schemas'][ref] if 'oneOf' in schema: for t in schema['oneOf']: - ref = t['$ref'].replace( - '#/components/schemas/', '') + ref = getOneOfRefType(t) if ref not in refs: refs.append(ref) else: @@ -1509,6 +1496,14 @@ def get_function_parameters(endpoint: dict, request_body_type: bool) -> [str]: return params +def getOneOfRefType(schema: dict) -> str: + if 'type' in schema['properties']: + t = schema['properties']['type']['enum'][0] + return t + + raise Exception("Cannot get oneOf ref type for schema: ", schema) + + if (__name__ == '__main__'): exit_code = main() exit(exit_code) diff --git a/kittycad/api/api-calls/get_async_operation.py b/kittycad/api/api-calls/get_async_operation.py index 3706aa408..e2bf9671c 100644 --- a/kittycad/api/api-calls/get_async_operation.py +++ b/kittycad/api/api-calls/get_async_operation.py @@ -5,8 +5,8 @@ import httpx from ...client import Client from ...models.file_conversion import FileConversion from ...models.file_mass import FileMass -from ...models.file_density import FileDensity from ...models.file_volume import FileVolume +from ...models.file_density import FileDensity from ...models.error import Error from ...types import Response @@ -28,7 +28,7 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: if response.status_code == 200: data = response.json() try: @@ -48,14 +48,14 @@ def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConv try: if not isinstance(data, dict): raise TypeError() - option = FileDensity.from_dict(data) + option = FileVolume.from_dict(data) return option except: pass try: if not isinstance(data, dict): raise TypeError() - option = FileVolume.from_dict(data) + option = FileDensity.from_dict(data) return option except: raise @@ -68,7 +68,7 @@ def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConv return None -def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: return Response( status_code=response.status_code, content=response.content, @@ -81,7 +81,7 @@ def sync_detailed( id: str, *, client: Client, -) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: kwargs = _get_kwargs( id=id, client=client, @@ -99,7 +99,7 @@ def sync( id: str, *, client: Client, -) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: """ Get the status and output of an async operation. This endpoint requires authentication by any KittyCAD user. It returns details of the requested async operation for the user. If the user is not authenticated to view the specified async operation, then it is not returned. @@ -115,7 +115,7 @@ async def asyncio_detailed( id: str, *, client: Client, -) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: kwargs = _get_kwargs( id=id, client=client, @@ -131,7 +131,7 @@ async def asyncio( id: str, *, client: Client, -) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: """ Get the status and output of an async operation. This endpoint requires authentication by any KittyCAD user. It returns details of the requested async operation for the user. If the user is not authenticated to view the specified async operation, then it is not returned. diff --git a/kittycad/api/file/get_file_conversion.py b/kittycad/api/file/get_file_conversion.py index 1523d6d9b..26c0ad7e2 100644 --- a/kittycad/api/file/get_file_conversion.py +++ b/kittycad/api/file/get_file_conversion.py @@ -5,8 +5,8 @@ import httpx from ...client import Client from ...models.file_conversion import FileConversion from ...models.file_mass import FileMass -from ...models.file_density import FileDensity from ...models.file_volume import FileVolume +from ...models.file_density import FileDensity from ...models.error import Error from ...types import Response @@ -28,7 +28,7 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: if response.status_code == 200: data = response.json() try: @@ -48,14 +48,14 @@ def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConv try: if not isinstance(data, dict): raise TypeError() - option = FileDensity.from_dict(data) + option = FileVolume.from_dict(data) return option except: pass try: if not isinstance(data, dict): raise TypeError() - option = FileVolume.from_dict(data) + option = FileDensity.from_dict(data) return option except: raise @@ -68,7 +68,7 @@ def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConv return None -def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: return Response( status_code=response.status_code, content=response.content, @@ -81,7 +81,7 @@ def sync_detailed( id: str, *, client: Client, -) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: kwargs = _get_kwargs( id=id, client=client, @@ -99,7 +99,7 @@ def sync( id: str, *, client: Client, -) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: """ Get the status and output of an async file conversion. This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user. If the user is not authenticated to view the specified file conversion, then it is not returned. @@ -115,7 +115,7 @@ async def asyncio_detailed( id: str, *, client: Client, -) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: kwargs = _get_kwargs( id=id, client=client, @@ -131,7 +131,7 @@ async def asyncio( id: str, *, client: Client, -) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: """ Get the status and output of an async file conversion. This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user. If the user is not authenticated to view the specified file conversion, then it is not returned. diff --git a/kittycad/api/file/get_file_conversion_for_user.py b/kittycad/api/file/get_file_conversion_for_user.py index 09117053f..2a53ba8c7 100644 --- a/kittycad/api/file/get_file_conversion_for_user.py +++ b/kittycad/api/file/get_file_conversion_for_user.py @@ -5,8 +5,8 @@ import httpx from ...client import Client from ...models.file_conversion import FileConversion from ...models.file_mass import FileMass -from ...models.file_density import FileDensity from ...models.file_volume import FileVolume +from ...models.file_density import FileDensity from ...models.error import Error from ...types import Response @@ -28,7 +28,7 @@ def _get_kwargs( } -def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: if response.status_code == 200: data = response.json() try: @@ -48,14 +48,14 @@ def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConv try: if not isinstance(data, dict): raise TypeError() - option = FileDensity.from_dict(data) + option = FileVolume.from_dict(data) return option except: pass try: if not isinstance(data, dict): raise TypeError() - option = FileVolume.from_dict(data) + option = FileDensity.from_dict(data) return option except: raise @@ -68,7 +68,7 @@ def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConv return None -def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: return Response( status_code=response.status_code, content=response.content, @@ -81,7 +81,7 @@ def sync_detailed( id: str, *, client: Client, -) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: kwargs = _get_kwargs( id=id, client=client, @@ -99,7 +99,7 @@ def sync( id: str, *, client: Client, -) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: """ Get the status and output of an async file conversion. If completed, the contents of the converted file (`output`) will be returned as a base64 encoded string. This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user. """ @@ -113,7 +113,7 @@ async def asyncio_detailed( id: str, *, client: Client, -) -> Response[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Response[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: kwargs = _get_kwargs( id=id, client=client, @@ -129,7 +129,7 @@ async def asyncio( id: str, *, client: Client, -) -> Optional[Union[Any, FileConversion, FileMass, FileDensity, FileVolume, Error]]: +) -> Optional[Union[Any, FileConversion, FileMass, FileVolume, FileDensity, Error]]: """ Get the status and output of an async file conversion. If completed, the contents of the converted file (`output`) will be returned as a base64 encoded string. This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user. """ diff --git a/spec.json b/spec.json index 9272b21c1..a1463a58b 100644 --- a/spec.json +++ b/spec.json @@ -473,32 +473,400 @@ "description": "The output from the async API call.", "oneOf": [ { - "$ref": "#/components/schemas/FileConversion", - "x-scope": [ - "", - "#/components/schemas/AsyncApiCallOutput" - ] + "description": "A file conversion.", + "properties": { + "completed_at": { + "description": "The time and date the file conversion was completed.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "created_at": { + "description": "The time and date the file conversion was created.", + "format": "partial-date-time", + "type": "string" + }, + "error": { + "description": "The error the function returned, if any.", + "nullable": true, + "type": "string" + }, + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/Uuid", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The unique identifier of the file conversion.\n\nThis is the same as the API call ID." + }, + "output": { + "description": "The converted file, if completed, base64 encoded.", + "nullable": true, + "type": "string" + }, + "output_format": { + "allOf": [ + { + "$ref": "#/components/schemas/FileOutputFormat", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The output format of the file conversion." + }, + "src_format": { + "allOf": [ + { + "$ref": "#/components/schemas/FileSourceFormat", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The source format of the file conversion." + }, + "started_at": { + "description": "The time and date the file conversion was started.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/APICallStatus", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The status of the file conversion." + }, + "type": { + "enum": [ + "FileConversion" + ], + "type": "string" + }, + "updated_at": { + "description": "The time and date the file conversion was last updated.", + "format": "partial-date-time", + "type": "string" + }, + "user_id": { + "description": "The user ID of the user who created the file conversion.", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "output_format", + "src_format", + "status", + "type", + "updated_at" + ], + "type": "object" }, { - "$ref": "#/components/schemas/FileMass", - "x-scope": [ - "", - "#/components/schemas/AsyncApiCallOutput" - ] + "description": "A file mass.", + "properties": { + "completed_at": { + "description": "The time and date the mass was completed.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "created_at": { + "description": "The time and date the mass was created.", + "format": "partial-date-time", + "type": "string" + }, + "error": { + "description": "The error the function returned, if any.", + "nullable": true, + "type": "string" + }, + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/Uuid", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The unique identifier of the mass request.\n\nThis is the same as the API call ID." + }, + "mass": { + "description": "The resulting mass.", + "format": "double", + "nullable": true, + "type": "number" + }, + "material_density": { + "default": 0, + "description": "The material density as denoted by the user.", + "format": "float", + "type": "number" + }, + "src_format": { + "allOf": [ + { + "$ref": "#/components/schemas/FileSourceFormat", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The source format of the file." + }, + "started_at": { + "description": "The time and date the mass was started.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/APICallStatus", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The status of the mass." + }, + "type": { + "enum": [ + "FileMass" + ], + "type": "string" + }, + "updated_at": { + "description": "The time and date the mass was last updated.", + "format": "partial-date-time", + "type": "string" + }, + "user_id": { + "description": "The user ID of the user who created the mass.", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "src_format", + "status", + "type", + "updated_at" + ], + "type": "object" }, { - "$ref": "#/components/schemas/FileDensity", - "x-scope": [ - "", - "#/components/schemas/AsyncApiCallOutput" - ] + "description": "A file volume.", + "properties": { + "completed_at": { + "description": "The time and date the volume was completed.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "created_at": { + "description": "The time and date the volume was created.", + "format": "partial-date-time", + "type": "string" + }, + "error": { + "description": "The error the function returned, if any.", + "nullable": true, + "type": "string" + }, + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/Uuid", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The unique identifier of the volume request.\n\nThis is the same as the API call ID." + }, + "src_format": { + "allOf": [ + { + "$ref": "#/components/schemas/FileSourceFormat", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The source format of the file." + }, + "started_at": { + "description": "The time and date the volume was started.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/APICallStatus", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The status of the volume." + }, + "type": { + "enum": [ + "FileVolume" + ], + "type": "string" + }, + "updated_at": { + "description": "The time and date the volume was last updated.", + "format": "partial-date-time", + "type": "string" + }, + "user_id": { + "description": "The user ID of the user who created the volume.", + "type": "string" + }, + "volume": { + "description": "The resulting volume.", + "format": "double", + "nullable": true, + "type": "number" + } + }, + "required": [ + "created_at", + "id", + "src_format", + "status", + "type", + "updated_at" + ], + "type": "object" }, { - "$ref": "#/components/schemas/FileVolume", - "x-scope": [ - "", - "#/components/schemas/AsyncApiCallOutput" - ] + "description": "A file density.", + "properties": { + "completed_at": { + "description": "The time and date the density was completed.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "created_at": { + "description": "The time and date the density was created.", + "format": "partial-date-time", + "type": "string" + }, + "density": { + "description": "The resulting density.", + "format": "double", + "nullable": true, + "type": "number" + }, + "error": { + "description": "The error the function returned, if any.", + "nullable": true, + "type": "string" + }, + "id": { + "allOf": [ + { + "$ref": "#/components/schemas/Uuid", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The unique identifier of the density request.\n\nThis is the same as the API call ID." + }, + "material_mass": { + "default": 0, + "description": "The material mass as denoted by the user.", + "format": "float", + "type": "number" + }, + "src_format": { + "allOf": [ + { + "$ref": "#/components/schemas/FileSourceFormat", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The source format of the file." + }, + "started_at": { + "description": "The time and date the density was started.", + "format": "partial-date-time", + "nullable": true, + "type": "string" + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/APICallStatus", + "x-scope": [ + "", + "#/components/schemas/AsyncApiCallOutput" + ] + } + ], + "description": "The status of the density." + }, + "type": { + "enum": [ + "FileDensity" + ], + "type": "string" + }, + "updated_at": { + "description": "The time and date the density was last updated.", + "format": "partial-date-time", + "type": "string" + }, + "user_id": { + "description": "The user ID of the user who created the density.", + "type": "string" + } + }, + "required": [ + "created_at", + "id", + "src_format", + "status", + "type", + "updated_at" + ], + "type": "object" } ] }, @@ -727,7 +1095,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection" ] } @@ -769,7 +1136,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection" ] } @@ -861,7 +1227,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection" ] } @@ -901,7 +1266,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection" ] } @@ -1010,7 +1374,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection" ] } @@ -1574,7 +1937,6 @@ "$ref": "#/components/schemas/Uuid", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileConversion" ] } @@ -1592,7 +1954,6 @@ "$ref": "#/components/schemas/FileOutputFormat", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileConversion" ] } @@ -1605,7 +1966,6 @@ "$ref": "#/components/schemas/FileSourceFormat", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileConversion" ] } @@ -1624,7 +1984,6 @@ "$ref": "#/components/schemas/APICallStatus", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileConversion" ] } @@ -1682,7 +2041,6 @@ "$ref": "#/components/schemas/Uuid", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileDensity" ] } @@ -1701,7 +2059,6 @@ "$ref": "#/components/schemas/FileSourceFormat", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileDensity" ] } @@ -1720,7 +2077,6 @@ "$ref": "#/components/schemas/APICallStatus", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileDensity" ] } @@ -1771,7 +2127,6 @@ "$ref": "#/components/schemas/Uuid", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileMass" ] } @@ -1796,7 +2151,6 @@ "$ref": "#/components/schemas/FileSourceFormat", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileMass" ] } @@ -1815,7 +2169,6 @@ "$ref": "#/components/schemas/APICallStatus", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileMass" ] } @@ -1902,7 +2255,6 @@ "$ref": "#/components/schemas/Uuid", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileVolume" ] } @@ -1915,7 +2267,6 @@ "$ref": "#/components/schemas/FileSourceFormat", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileVolume" ] } @@ -1934,7 +2285,6 @@ "$ref": "#/components/schemas/APICallStatus", "x-scope": [ "", - "#/components/schemas/AsyncApiCallOutput", "#/components/schemas/FileVolume" ] } @@ -2210,7 +2560,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection", "#/components/schemas/Jetstream" ] @@ -2231,7 +2580,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection", "#/components/schemas/Jetstream" ] @@ -2251,7 +2599,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection", "#/components/schemas/Jetstream" ] @@ -2343,7 +2690,6 @@ "x-scope": [ "", "#/components/schemas/Metadata", - "#/components/schemas/EngineMetadata", "#/components/schemas/Connection", "#/components/schemas/Jetstream", "#/components/schemas/JetstreamStats"