From 6513c93e2bd606c6d48edd50369a7816c746e95b Mon Sep 17 00:00:00 2001 From: Alex Orange Date: Fri, 19 Jun 2026 13:55:14 -0600 Subject: [PATCH] docs: Clarify how to use StrictServerInterface implementations. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8d3d770e..31179f2d3 100644 --- a/README.md +++ b/README.md @@ -359,7 +359,7 @@ func (p *PetStore) FindPets(ctx context.Context, request FindPetsRequestObject) } ``` -We can see that this provides the best means to focus on the implementation of the business logic within the endpoint, rather than (un)marshalling types to and from JSON, or wrangling cookies or headers. +We can see that this provides the best means to focus on the implementation of the business logic within the endpoint, rather than (un)marshalling types to and from JSON, or wrangling cookies or headers. In order to actually use your strict server implementation use `NewStrictHandler` or `NewStrictHandlerWithOptions` to generate a (non-strict) server interface to use with the examples below. ## Key design decisions