Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LasneF opened this issue Nov 22, 2023 · 0 comments
Open

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

LasneF opened this issue Nov 22, 2023 · 0 comments

Comments

@LasneF
Copy link

LasneF commented Nov 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant