Update client_secret examples so that they are valid (#2985)
The regex of allowed characters for a `client_secret` parameter is `[0-9a-zA-Z.=_-]`. This PR updates the `client_secret` spec examples, which currently include an invalid character (an apostrophe).
This commit is contained in:
parent
466911b253
commit
ad93aa6546
2 changed files with 4 additions and 3 deletions
|
@ -139,7 +139,7 @@ paths:
|
|||
"id_server": "matrix.org",
|
||||
"id_access_token": "abc123_OpaqueString",
|
||||
"sid": "abc123987",
|
||||
"client_secret": "d0n'tT3ll"
|
||||
"client_secret": "d0nt-T3ll"
|
||||
}
|
||||
}
|
||||
responses:
|
||||
|
@ -215,7 +215,7 @@ paths:
|
|||
required: ["client_secret", "sid"]
|
||||
example: {
|
||||
"sid": "abc123987",
|
||||
"client_secret": "d0n'tT3ll"
|
||||
"client_secret": "d0nt-T3ll"
|
||||
}
|
||||
responses:
|
||||
200:
|
||||
|
@ -272,7 +272,7 @@ paths:
|
|||
"id_server": "example.org",
|
||||
"id_access_token": "abc123_OpaqueString",
|
||||
"sid": "abc123987",
|
||||
"client_secret": "d0n'tT3ll"
|
||||
"client_secret": "d0nt-T3ll"
|
||||
}
|
||||
responses:
|
||||
200:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue