Skip to content

Commit

Permalink
Fix minor typos in third-party networks module (matrix-org#1892)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes authored Jun 28, 2024
1 parent d7299b5 commit d528ff6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1892.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix various typos throughout the specification.
8 changes: 4 additions & 4 deletions data/api/application-service/definitions/protocol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ properties:
example: "mxc://example.org/aBcDeFgH"
field_types:
description: |-
The type definitions for the fields defined in the `user_fields` and
`location_fields`. Each entry in those arrays MUST have an entry here. The
`string` key for this object is field name itself.
The type definitions for the fields defined in `user_fields` and
`location_fields`. Each entry in those arrays MUST have an entry here.
The `string` key for this object is the field name itself.
May be an empty object if no fields are defined.
type: object
Expand All @@ -60,7 +60,7 @@ properties:
may apply additional validation or filtering.
type: string
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
required: ['regexp', 'placeholder']
example: {
Expand Down
2 changes: 1 addition & 1 deletion data/api/application-service/definitions/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# TODO: Change userid to user_id as a breaking change
properties:
userid:
description: A Matrix User ID represting a third-party user.
description: A Matrix User ID representing a third-party user.
type: string
example: "@_gitter_jim:matrix.org"
protocol:
Expand Down
4 changes: 2 additions & 2 deletions data/api/client-server/third_party_lookup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ paths:
schema:
$ref: ../application-service/definitions/user_batch.yaml
"404":
description: The Matrix User ID was not found
description: The Matrix User ID was not found.
content:
application/json:
schema:
Expand Down Expand Up @@ -232,7 +232,7 @@ paths:
schema:
$ref: ../application-service/definitions/user_batch.yaml
"404":
description: The Matrix User ID was not found
description: The Matrix User ID was not found.
content:
application/json:
schema:
Expand Down

0 comments on commit d528ff6

Please sign in to comment.