diff --git a/README.md b/README.md index 2e78e8e..f32b917 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ export const OpenAPISpecification = { }, openapi: '3.1.0', paths: { - 'v1//version': { + 'v1/version': { get: { responses: { '200': { @@ -78,6 +78,7 @@ export const OpenAPISpecification = { }, }, }; + ``` With compeller you can compile this into a typed request and response handler like: