Skip to content

[Lint] report warning if resource type key is not read-only in ResourceCreateOrReplace template #2352

Open
@MaryGao

Description

@MaryGao

As we offlined discussed this is a real case in contentsafety , for Azure template ResourceCreateOrReplace it would lift the key properties to method level as path parameters, so there would exist duplications between path paramter and request body property and it's better to add a linter to limit the key property as read-only so that we could guide spec author without duplications.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions