Yes it does. Here is a sample.
{
"type": "oas",
"files": [
{
"file": "./oas.v2.api.json",
"api_id": "specify_api_definition_id",
"db_id": "database_base_id(which is usually the `id` field in the api definition)",
"org_id": "global",
"oas": {
"override_target": "https://upstream_path",
"override_listen_path": "/oasv2/",
"strip_listen_path": true,
"version_name": "2.0.0"
}
},
{
"file": "./oas.v3.api.json",
"org_id": "global",
"oas": {
"override_target": "https://upstream_path",
"override_listen_path": "/oasv3/",
"version_name": "Default"
}
}
],
"policies": []
}
The version
and the org_id
are required properties.