@@ -59,7 +59,7 @@ rpc DeleteBook(DeleteBookRequest) returns (google.protobuf.Empty) {
59
59
60
60
{% tab oas %}
61
61
62
- {% sample 'delete.oas.yaml' , 'paths' %}
62
+ {% sample 'delete.oas.yaml' , '$. paths' %}
63
63
64
64
- The response body **should** be omitted.
65
65
- The HTTP response code **should** be `204 No Content` if the delete was
@@ -104,7 +104,7 @@ message DeleteBookRequest {
104
104
105
105
{% tab oas -%}
106
106
107
- {% sample 'delete.oas.yaml' , 'paths' %}
107
+ {% sample 'delete.oas.yaml' , '$. paths' %}
108
108
109
109
- Delete methods **should** return `204 No Content` with no response body, or
110
110
`202 Accepted` with a representation of the operation in the response body if
@@ -149,7 +149,7 @@ rpc DeleteBook(DeleteBookRequest) returns (aep.api.Operation) {
149
149
150
150
{% tab oas -%}
151
151
152
- {% sample 'long_running_delete.oas.yaml' , 'paths' %}
152
+ {% sample 'long_running_delete.oas.yaml' , '$. paths' %}
153
153
154
154
- The response status code should be `202 Accepted` if the request was accepted
155
155
for later processing. When the request is processed it could still fail.
@@ -191,7 +191,7 @@ is `false` (or unset) and child resources are present.
191
191
192
192
{% tab oas -%}
193
193
194
- {% sample 'cascading_delete.oas.yaml' , 'paths' %}
194
+ {% sample 'cascading_delete.oas.yaml' , '$. paths' %}
195
195
196
196
The API **must** fail with a `409 Conflict` error if the `force` field is
197
197
`false` (or unset) and child resources are present.
0 commit comments