diff --git a/code/API_definitions/number-recycling.yaml b/code/API_definitions/number-recycling.yaml index 6bab416..70829f6 100644 --- a/code/API_definitions/number-recycling.yaml +++ b/code/API_definitions/number-recycling.yaml @@ -164,19 +164,19 @@ components: ErrorInfo: type: object required: + - message - status - code - - message properties: + message: + type: string + description: A human-readable description of what the event represents status: type: integer description: HTTP response status code code: type: string - description: Code given to this error - message: - type: string - description: A human readable description of what the event represent + description: A human-readable code to describe the error XCorrelator: type: string pattern: ^[a-zA-Z0-9-_:;.\/<>{}]{0,256}$