Skip to content

Commit 6513c93

Browse files
docs: Clarify how to use StrictServerInterface implementations.
1 parent 77fcbaa commit 6513c93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func (p *PetStore) FindPets(ctx context.Context, request FindPetsRequestObject)
359359
}
360360
```
361361

362-
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.
362+
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.
363363

364364
## Key design decisions
365365

0 commit comments

Comments
 (0)