Fix minor typos in third-party networks module (#1892)

pull/1896/head
Johannes Marbach 5 months ago committed by GitHub
parent d7299b5a32
commit d528ff684b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Fix various typos throughout the specification.

@ -42,9 +42,9 @@ properties:
example: "mxc://example.org/aBcDeFgH" example: "mxc://example.org/aBcDeFgH"
field_types: field_types:
description: |- description: |-
The type definitions for the fields defined in the `user_fields` and The type definitions for the fields defined in `user_fields` and
`location_fields`. Each entry in those arrays MUST have an entry here. The `location_fields`. Each entry in those arrays MUST have an entry here.
`string` key for this object is field name itself. The `string` key for this object is the field name itself.
May be an empty object if no fields are defined. May be an empty object if no fields are defined.
type: object type: object
@ -60,7 +60,7 @@ properties:
may apply additional validation or filtering. may apply additional validation or filtering.
type: string type: string
placeholder: placeholder:
description: An placeholder serving as a valid example of the field value. description: A placeholder serving as a valid example of the field value.
type: string type: string
required: ['regexp', 'placeholder'] required: ['regexp', 'placeholder']
example: { example: {

@ -15,7 +15,7 @@
# TODO: Change userid to user_id as a breaking change # TODO: Change userid to user_id as a breaking change
properties: properties:
userid: userid:
description: A Matrix User ID represting a third-party user. description: A Matrix User ID representing a third-party user.
type: string type: string
example: "@_gitter_jim:matrix.org" example: "@_gitter_jim:matrix.org"
protocol: protocol:

@ -158,7 +158,7 @@ paths:
schema: schema:
$ref: ../application-service/definitions/user_batch.yaml $ref: ../application-service/definitions/user_batch.yaml
"404": "404":
description: The Matrix User ID was not found description: The Matrix User ID was not found.
content: content:
application/json: application/json:
schema: schema:
@ -232,7 +232,7 @@ paths:
schema: schema:
$ref: ../application-service/definitions/user_batch.yaml $ref: ../application-service/definitions/user_batch.yaml
"404": "404":
description: The Matrix User ID was not found description: The Matrix User ID was not found.
content: content:
application/json: application/json:
schema: schema:

Loading…
Cancel
Save