Skip to content

[bug] the rules az-property-type: gives false postive  #134

Open
@LasneF

Description

@LasneF

given the rules az-property-type:

this generate false positive as it catches properties in examples .

use case beeing that i have an API with endpoints returning an object containing a field called
"properties" as part of the payload

for instance

examples:
 Dog:
      description: |
        Creation of a Zero Coupon scenario 
      value:
        type: GOOD_DOG
        properties:
          size: TALL
          legs:
            - id : 1

returns
warning az-property-type Property should have a defined type. components.examples.Dog.value.properties.legs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions