swagger-api / validator-badge

Validate your Swagger JSON/YAML today!
http://swagger.io
Apache License 2.0
210 stars 85 forks source link

enum fails validation #76

Open knap1930 opened 8 years ago

knap1930 commented 8 years ago
definitions:
  imageType:
    type: string
    enum:
      - "AVATAR"
      - "PROFILE"

fails validation with message

{
    "messages": 
    [
        "attribute definitions.imageType.properties is missing"
    ]
}
knap1930 commented 8 years ago

I assume this is the root cause.. https://github.com/swagger-api/swagger-parser/pull/165