API-Mgr. CLI version
1.0.0
API-Manager and Service-Pack Version
7.7.0
Expected behavior
When an API is initially registered for the first time (No existing API found) the V-Host should be set.
Actual behavior
Only when the API is in state published, the V-Host is set. When going back from published to unpublished, the V-Host is also set.
Test case sample
{
"name": "Axway Imagine - Weather API",
"path": "/api/v1/weather",
"state": "unpublished",
"version": "1.0.0",
"organization": "API Development",
"apiDefinition": "../petstore.json",
"vhost": "myhost.custom.com:8065"
}
API-Mgr. CLI version
1.0.0
API-Manager and Service-Pack Version
7.7.0
Expected behavior
When an API is initially registered for the first time (No existing API found) the V-Host should be set.
Actual behavior
Only when the API is in state published, the V-Host is set. When going back from published to unpublished, the V-Host is also set.
Test case sample