Add requirement for service default params (#7207)

This commit is contained in:
Heath Stewart 2024-02-08 15:41:53 -08:00 коммит произвёл GitHub
Родитель 22c5419794
Коммит 5e39b98d2e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -63,6 +63,8 @@ The service client will have methods that send requests to the service. These me
{% include requirement/MUSTNOT id="general-params-server-validation" %} validate service parameters. This includes null checks, empty strings, and other common validating conditions. Let the service validate any request parameters.
{% include requirement/MUSTNOT id="general-params-server-defaults" %} encode default values for service parameters. Service parameter default values can change between api-versions. Required parameters should require a value to be passed to the client interface, and optional parameters should be elided if not specified so that the service will use default values for the requested api-version.
{% include requirement/MUST id="general-params-check-devex" %} validate the developer experience when the service parameters are invalid to ensure appropriate error messages are generated by the service. If the developer experience is compromised due to service-side error messages, work with the service team to correct prior to release.
## Network requests