Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit be83a43

Browse files
author
James Berry
committed
docs/readme-formatting
1 parent c832cc2 commit be83a43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Procedures with a `GET`/`DELETE` method will accept inputs via URL `query parame
122122

123123
A procedure can accept a set of inputs via URL path parameters. You can add a path parameter to any OpenAPI enabled procedure by using curly brackets around an input name as a path segment in the `meta.openapi.path` field.
124124

125-
#### Query parameters
125+
### Query parameters
126126

127127
Query & path parameter inputs are always accepted as a `string`, if you wish to support other primitives such as `number`, `boolean`, `Date` etc. please use [`z.preprocess()`](https://github.com/colinhacks/zod#preprocess).
128128

@@ -144,7 +144,7 @@ const res = await fetch('http://localhost:3000/say-hello/James?greeting=Hello' /
144144
const body = await res.json(); /* { ok: true, data: { greeting: 'Hello James!' } } */
145145
```
146146

147-
#### Request body
147+
### Request body
148148

149149
```typescript
150150
// Router

0 commit comments

Comments
 (0)