This is a fake path added just so the schemas are generated into code. It will be removed from the OAS after type generation, before documentation generation.
curl --request GET \
--url 'https://api-(organization).gable.ai/fake-path-for-type-generation'
{
"fakeProperty1": {
"code_info": {
"repo_uri": "<string>",
"repo_branch": "<string>",
"repo_commit": "<string>",
"project_root": "<string>"
},
"sca_tool": {
"name": "<string>",
"version": "<string>",
"config": {
"ingress_signatures": [
{
"class_names": [
"<string>"
],
"method_names": [
"<string>"
],
"kind": "<string>"
}
],
"egress_signatures": [
{
"class_names": [
"<string>"
],
"method_names": [
"<string>"
],
"kind": "<string>"
}
]
}
},
"machine_info": {
"cpu_cores": 123,
"ram_gb": 123
}
},
"fakeProperty2": {
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
},
"fakeProperty3": {
"paths": [
{
"ingress": {
"kind": "<string>",
"signature_name": "<string>",
"code_anchor": {
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
},
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
},
"egress": {
"kind": "<string>",
"signature_name": "<string>",
"code_anchor": {
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
},
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
},
"code_anchors": [
{
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
}
],
"field_mappings": [
{
"ingress_field": "<string>",
"egress_field": "<string>",
"notes": "<string>",
"field_data_flow_path": [
{
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
}
]
}
]
}
],
"run_id": "<string>"
}
}
Successful operation
The response is of type object
.
curl --request GET \
--url 'https://api-(organization).gable.ai/fake-path-for-type-generation'
{
"fakeProperty1": {
"code_info": {
"repo_uri": "<string>",
"repo_branch": "<string>",
"repo_commit": "<string>",
"project_root": "<string>"
},
"sca_tool": {
"name": "<string>",
"version": "<string>",
"config": {
"ingress_signatures": [
{
"class_names": [
"<string>"
],
"method_names": [
"<string>"
],
"kind": "<string>"
}
],
"egress_signatures": [
{
"class_names": [
"<string>"
],
"method_names": [
"<string>"
],
"kind": "<string>"
}
]
}
},
"machine_info": {
"cpu_cores": 123,
"ram_gb": 123
}
},
"fakeProperty2": {
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
},
"fakeProperty3": {
"paths": [
{
"ingress": {
"kind": "<string>",
"signature_name": "<string>",
"code_anchor": {
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
},
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
},
"egress": {
"kind": "<string>",
"signature_name": "<string>",
"code_anchor": {
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
},
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
}
},
"code_anchors": [
{
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
}
],
"field_mappings": [
{
"ingress_field": "<string>",
"egress_field": "<string>",
"notes": "<string>",
"field_data_flow_path": [
{
"anchor_id": "<string>",
"code_uri": {
"file": "<string>",
"line_start": 123,
"line_end": 123,
"column_start": 123,
"column_end": 123
}
}
]
}
]
}
],
"run_id": "<string>"
}
}