Azure / Azure/azure-openapi-validator

[new rule]: Once issue 357 is addressed, we need another linter rule to ensure the regex for resource naming doesnt violate the ARM definition

Open
#358 2 comments 0 reactions 0 assignees View on GitHub
api-rule
Dominant language
TypeScript
Stars
53
Forks
57
Avg merge
1d 23h
Merged PRs (30d)
2

Description

### Lint rule description

We need to ensure that the regex defined by RP teams for restricting resource names adheres to ARM's definition of the regex. The regex can be more restrictive than ARM's definition but cannot be less restrictive.

### Related swagger example

Dont have an example

### Category

ARM

### Severity level

Error

### Applies to

Management plane API spec, RPaaS API spec

### How to fix the violation

Define a more restrictive regex than ARM's definition of the same for resource names

### What't the impact if breaking the rule

Violation of ARM's definition of resource name restrictions leading to runtime failures

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.