Azure / Azure/azure-rest-api-specs

WebApps_CreateOrUpdate : name should have regexp

Open
#4,312 0 comments 0 reactions 0 assignees View on GitHub
App Services Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Root issue: https://github.com/Azure/azure-sdk-for-python/issues/3673

> create_or_update needs to validate if provided name is valid or not. E.g. underscore is not allowed and you can see it via the portal.
>
> This method sendsa request, response contains 400: Bad request with no details. Hard to guess the issue.

This method should have a regexp to check that name matches what is correct for the service

Contributor guide

Open the contributing guide

Research direction

Find the WebApps_CreateOrUpdate operation definition in this repository and read the linked issue for the service's name requirements. Add validation for names that do not match the required pattern, including underscores, and confirm that valid names remain accepted before requests are sent.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.