From 88fd57f0fe2ebe08a81f7d94de44ac1e778f88c0 Mon Sep 17 00:00:00 2001 From: Mohamad Fadhil Date: Mon, 12 Dec 2022 17:56:51 +0800 Subject: [PATCH] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a47a303c..c531f234 100644 --- a/README.md +++ b/README.md @@ -986,7 +986,7 @@ If you want your resources to automatically fill in params, such as an item's ID app.Resource("/notes").Get("list-notes", "docs", responses.OK().Headers("Link").Model([]NoteSummary{}), ).Run(func(ctx huma.Context, input struct { - Cursor string `query:"cursor" doc:"Paginatoin cursor"` + Cursor string `query:"cursor" doc:"Pagination cursor"` Limit int `query:"limit" doc:"Number of items to return"` }) { // Handler implementation goes here...