Skip to content

Commit

Permalink
add schema entry for err code
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <rip@devco.net>
  • Loading branch information
ripienaar committed Jul 6, 2021
1 parent ba78726 commit bf9eafc
Show file tree
Hide file tree
Showing 28 changed files with 216 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema_source/jetstream/api/v1/definitions.json
Expand Up @@ -317,6 +317,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
},
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/account_info_response.json
Expand Up @@ -113,6 +113,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/consumer_create_response.json
Expand Up @@ -328,6 +328,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/consumer_delete_response.json
Expand Up @@ -29,6 +29,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/consumer_info_response.json
Expand Up @@ -328,6 +328,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
Expand Up @@ -26,6 +26,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/consumer_list_response.json
Expand Up @@ -53,6 +53,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/consumer_names_response.json
Expand Up @@ -53,6 +53,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/meta_leader_stepdown_response.json
Expand Up @@ -26,6 +26,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/meta_server_remove_response.json
Expand Up @@ -25,6 +25,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/pub_ack_response.json
Expand Up @@ -24,6 +24,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
},
Expand Down
18 changes: 18 additions & 0 deletions schemas/jetstream/api/v1/stream_create_response.json
Expand Up @@ -449,6 +449,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down Expand Up @@ -512,6 +518,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down Expand Up @@ -541,6 +553,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_delete_response.json
Expand Up @@ -29,6 +29,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
18 changes: 18 additions & 0 deletions schemas/jetstream/api/v1/stream_info_response.json
Expand Up @@ -449,6 +449,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down Expand Up @@ -512,6 +518,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down Expand Up @@ -541,6 +553,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_leader_stepdown_response.json
Expand Up @@ -26,6 +26,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
18 changes: 18 additions & 0 deletions schemas/jetstream/api/v1/stream_list_response.json
Expand Up @@ -53,6 +53,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down Expand Up @@ -509,6 +515,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down Expand Up @@ -572,6 +584,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_msg_delete_response.json
Expand Up @@ -29,6 +29,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_msg_get_response.json
Expand Up @@ -29,6 +29,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_names_response.json
Expand Up @@ -53,6 +53,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_purge_response.json
Expand Up @@ -29,6 +29,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_remove_peer_response.json
Expand Up @@ -26,6 +26,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_restore_response.json
Expand Up @@ -26,6 +26,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_snapshot_response.json
Expand Up @@ -26,6 +26,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/jetstream/api/v1/stream_template_create_response.json
Expand Up @@ -296,6 +296,12 @@
"description": {
"type": "string",
"description": "A human friendly description of the error"
},
"err_code": {
"type": "integer",
"description": "The NATS error code unique to each kind of error",
"minimum": 0,
"maximum": 65535
}
}
}
Expand Down

0 comments on commit bf9eafc

Please sign in to comment.