OpenAPI: add titles
This commit is contained in:
parent
3bf7e48e13
commit
13f7df1379
10 changed files with 17 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
type: object
|
||||
title: Error
|
||||
description: A Matrix-level Error
|
||||
properties:
|
||||
errcode:
|
||||
|
@ -22,4 +23,4 @@ properties:
|
|||
type: string
|
||||
description: A human-readable error message.
|
||||
example: An unknown error occurred
|
||||
required: ["errcode"]
|
||||
required: ["errcode"]
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
# limitations under the License.
|
||||
$ref: error.yaml
|
||||
type: object
|
||||
title: RateLimitError
|
||||
description: The rate limit was reached for this request
|
||||
properties:
|
||||
errcode:
|
||||
|
@ -29,4 +30,4 @@ properties:
|
|||
The amount of time in milliseconds the client should wait
|
||||
before trying the request again.
|
||||
example: 2000
|
||||
required: ["errcode"]
|
||||
required: ["errcode"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue