Discussions

Ask a Question
Back to All

Swagger schema validation failed

trying to import a URL and got this error:

Swagger schema validation failed. 
  Data does not match any schemas from 'anyOf' at #/definitions/ResponseListWebhookAction/properties/data/items
    Array items are not unique (indexes 0 and 22) at #/definitions/ResponseListWebhookAction/properties/data/items/enum
    Expected type array but found type object at #/definitions/ResponseListWebhookAction/properties/data/items
 
JSON_OBJECT_VALIDATION_FAILED

File URL is https://app.harness.io/gateway/pipeline/api/swagger.json