openziti / edge-api

A repository for the OpenZiti Edge API Specifications
Apache License 2.0
2 stars 3 forks source link

RecoveryCodesEnvelope is wrong #113

Closed ekoby closed 5 months ago

ekoby commented 5 months ago

recovery codes should be in data field, not error

  detailMfaRecoveryCodesEnvelope:
    type: object
    required:
    - meta
    - error
    properties:
      error:
        $ref: '#/definitions/detailMfaRecoveryCodes'
      meta:
        $ref: '#/definitions/meta'