Skip to content

Commit 99261d7

Browse files
authored
Fix typo (#356)
* fix typo
1 parent b4ca959 commit 99261d7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dropshot/src/pagination.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ where
275275

276276
/*
277277
* This is the API consumer-visible interface for paginated endpoints. We use
278-
* this solely to generate the schema. User-specified paratemers appear before
278+
* this solely to generate the schema. User-specified parameters appear before
279279
* pagination boilerplate.
280280
*/
281281
#[derive(JsonSchema)]
@@ -285,7 +285,7 @@ struct SchemaPaginationParams<ScanParams> {
285285
params: Option<ScanParams>,
286286
/** Maximum number of items returned by a single call */
287287
limit: Option<NonZeroU32>,
288-
/** Token returned by previous call to retreive the subsequent page */
288+
/** Token returned by previous call to retrieve the subsequent page */
289289
page_token: Option<String>,
290290
}
291291

dropshot/tests/test_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
{
233233
"in": "query",
234234
"name": "page_token",
235-
"description": "Token returned by previous call to retreive the subsequent page",
235+
"description": "Token returned by previous call to retrieve the subsequent page",
236236
"schema": {
237237
"nullable": true,
238238
"type": "string"

dropshot/tests/test_openapi_fuller.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
{
241241
"in": "query",
242242
"name": "page_token",
243-
"description": "Token returned by previous call to retreive the subsequent page",
243+
"description": "Token returned by previous call to retrieve the subsequent page",
244244
"schema": {
245245
"nullable": true,
246246
"type": "string"

dropshot/tests/test_pagination_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{
4141
"in": "query",
4242
"name": "page_token",
43-
"description": "Token returned by previous call to retreive the subsequent page",
43+
"description": "Token returned by previous call to retrieve the subsequent page",
4444
"schema": {
4545
"nullable": true,
4646
"type": "string"

0 commit comments

Comments
 (0)