Describe the bug

run command in examples:, got error: server field is required.
Related command
Examples
Create deployment
az apic api deployment create -g api-center-test -s contoso --deployment-id production
--title "Production deployment" --description "Public cloud production deployment." --api-id
echo-api --environment-id "/workspaces/default/environments/production" --definition-id
"/workspaces/default/apis/echo-api/versions/2023-01-01/definitions/openapi"
Errors
(ValidationError) Invalid request
Code: ValidationError
Message: Invalid request
Exception Details: (None) The requestMessage field is required.
Code: None
Message: The requestMessage field is required. (None) Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Code: None
Message: Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Issue script & Debug output
cli.azure.cli.core.azclierror: (ValidationError) Invalid request
Code: ValidationError
Message: Invalid request
Exception Details: (None) The requestMessage field is required.
Code: None
Message: The requestMessage field is required. (None) Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Code: None
Message: Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
az_command_data_logger: (ValidationError) Invalid request
Code: ValidationError
Message: Invalid request
Exception Details: (None) The requestMessage field is required.
Code: None
Message: The requestMessage field is required. (None) Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Code: None
Message: Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Expected behavior
no error message
Environment Summary
azure-cli 2.58.0 *
core 2.58.0 *
telemetry 1.1.0
Extensions:
apic-extension 1.0.0b5
Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2
Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Additional context
No response
Describe the bug
Related command
Examples
Create deployment
az apic api deployment create -g api-center-test -s contoso --deployment-id production
--title "Production deployment" --description "Public cloud production deployment." --api-id
echo-api --environment-id "/workspaces/default/environments/production" --definition-id
"/workspaces/default/apis/echo-api/versions/2023-01-01/definitions/openapi"
Errors
(ValidationError) Invalid request
Code: ValidationError
Message: Invalid request
Exception Details: (None) The requestMessage field is required.
Code: None
Message: The requestMessage field is required. (None) Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Code: None
Message: Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Issue script & Debug output
cli.azure.cli.core.azclierror: (ValidationError) Invalid request
Code: ValidationError
Message: Invalid request
Exception Details: (None) The requestMessage field is required.
Code: None
Message: The requestMessage field is required. (None) Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Code: None
Message: Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
az_command_data_logger: (ValidationError) Invalid request
Code: ValidationError
Message: Invalid request
Exception Details: (None) The requestMessage field is required.
Code: None
Message: The requestMessage field is required. (None) Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Code: None
Message: Required property 'server' not found in JSON. Path 'properties', line 1, position 247.
Expected behavior
no error message
Environment Summary
azure-cli 2.58.0 *
core 2.58.0 *
telemetry 1.1.0
Extensions:
apic-extension 1.0.0b5
Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2
Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Additional context
No response