Azure / Azure/azure-sdk-tools

[LintDiff][SDK automation] Detect the duplicated schema issue in the spec PR pipeline

Open
#6,511 3 comments 0 reactions 1 assignee Assigned to @raych1 View on GitHub
Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Control plane SDK is generated based on a tag defined in the readme. It might include multiple swaggers within a tag. If the combination of all these referenced swaggers within a tag contain same schema name but different values, then this issue would block the SDK generation.

Is `lintDiff` tool still an extension of `autorest` or it gets rid of `autorest` dependency? If using autorest, it should be able to identify this schema duplication issue. Otherwise, can we add a check to run `autorest modeler 4` in the spec PR pipeline?

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.