Skip to content

Commit 28e851b

Browse files
committed
apparently markdown is okay!
1 parent 4f8c258 commit 28e851b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

nexus/external-api/src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -3557,7 +3557,7 @@ pub trait NexusExternalApi {
35573557
/// Update webhook receiver
35583558
///
35593559
/// Note that receiver secrets are NOT added or removed using this endpoint.
3560-
/// Instead, use the /v1/webhooks/{secrets}/?receiver={receiver} endpoint
3560+
/// Instead, use the `/v1/webhooks/{secrets}/?receiver={receiver}`` endpoint
35613561
/// to add and remove secrets.
35623562
#[endpoint {
35633563
method = PUT,
@@ -3588,14 +3588,14 @@ pub trait NexusExternalApi {
35883588
/// the probe request: either the response from the receiver endpoint, or an
35893589
/// indication of why the probe failed.
35903590
///
3591-
/// Note that the response status is 200 OK as long as a probe request was
3591+
/// Note that the response status is `200 OK` as long as a probe request was
35923592
/// able to be sent to the receiver endpoint. If the receiver responds with
35933593
/// another status code, including an error, this will be indicated by the
3594-
/// response body, NOT the status of the response.
3594+
/// response body, *not* the status of the response.
35953595
///
3596-
/// The "resend" query parameter can be used to request re-delivery of
3596+
/// The `resend` query parameter can be used to request re-delivery of
35973597
/// failed events if the liveness probe succeeds. If it is set to true and
3598-
/// the webhook receiver responds to the probe request with a 2xx status
3598+
/// the webhook receiver responds to the probe request with a `2xx` status
35993599
/// code, any events for which delivery to this receiver has failed will be
36003600
/// queued for re-delivery.
36013601
#[endpoint {
@@ -3646,7 +3646,7 @@ pub trait NexusExternalApi {
36463646
/// List delivery attempts to a webhook receiver
36473647
///
36483648
/// Optional query parameters to this endpoint may be used to filter
3649-
/// deliveries by state. If none of the "failed", "pending", or "delivered"
3649+
/// deliveries by state. If none of the `failed`, `pending` or `delivered`
36503650
/// query parameters are present, all deliveries are returned. If one or
36513651
/// more of these parameters are provided, only those which are set to
36523652
/// "true" are included in the response.

openapi/nexus.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -11936,7 +11936,7 @@
1193611936
"system/webhooks"
1193711937
],
1193811938
"summary": "List delivery attempts to a webhook receiver",
11939-
"description": "Optional query parameters to this endpoint may be used to filter deliveries by state. If none of the \"failed\", \"pending\", or \"delivered\" query parameters are present, all deliveries are returned. If one or more of these parameters are provided, only those which are set to \"true\" are included in the response.",
11939+
"description": "Optional query parameters to this endpoint may be used to filter deliveries by state. If none of the `failed`, `pending` or `delivered` query parameters are present, all deliveries are returned. If one or more of these parameters are provided, only those which are set to \"true\" are included in the response.",
1194011940
"operationId": "webhook_delivery_list",
1194111941
"parameters": [
1194211942
{
@@ -12271,7 +12271,7 @@
1227112271
"system/webhooks"
1227212272
],
1227312273
"summary": "Update webhook receiver",
12274-
"description": "Note that receiver secrets are NOT added or removed using this endpoint. Instead, use the /v1/webhooks/{secrets}/?receiver={receiver} endpoint to add and remove secrets.",
12274+
"description": "Note that receiver secrets are NOT added or removed using this endpoint. Instead, use the `/v1/webhooks/{secrets}/?receiver={receiver}`` endpoint to add and remove secrets.",
1227512275
"operationId": "webhook_receiver_update",
1227612276
"parameters": [
1227712277
{
@@ -12342,7 +12342,7 @@
1234212342
"system/webhooks"
1234312343
],
1234412344
"summary": "Send liveness probe to webhook receiver",
12345-
"description": "This endpoint synchronously sends a liveness probe request to the selected webhook receiver. The response message describes the outcome of the probe request: either the response from the receiver endpoint, or an indication of why the probe failed.\n\nNote that the response status is 200 OK as long as a probe request was able to be sent to the receiver endpoint. If the receiver responds with another status code, including an error, this will be indicated by the response body, NOT the status of the response.\n\nThe \"resend\" query parameter can be used to request re-delivery of failed events if the liveness probe succeeds. If it is set to true and the webhook receiver responds to the probe request with a 2xx status code, any events for which delivery to this receiver has failed will be queued for re-delivery.",
12345+
"description": "This endpoint synchronously sends a liveness probe request to the selected webhook receiver. The response message describes the outcome of the probe request: either the response from the receiver endpoint, or an indication of why the probe failed.\n\nNote that the response status is `200 OK` as long as a probe request was able to be sent to the receiver endpoint. If the receiver responds with another status code, including an error, this will be indicated by the response body, *not* the status of the response.\n\nThe `resend` query parameter can be used to request re-delivery of failed events if the liveness probe succeeds. If it is set to true and the webhook receiver responds to the probe request with a `2xx` status code, any events for which delivery to this receiver has failed will be queued for re-delivery.",
1234612346
"operationId": "webhook_receiver_probe",
1234712347
"parameters": [
1234812348
{

0 commit comments

Comments
 (0)