Skip to content

Commit

Permalink
add image
Browse files Browse the repository at this point in the history
  • Loading branch information
camflan committed Dec 9, 2024
1 parent 7b3be06 commit dd53037
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Uses Valibot schemas to generate Open API documentation

## Install

Install from JSR,
Install from JSR,

npx jsr add @camflan/valibot-openapi-generator

Expand Down Expand Up @@ -93,9 +93,11 @@ const openApiSpec = getOpenAPISpecs(
);
```

![Example output in an OpenAPI explorer](./docs/example-output.png)

<details>
<summary>JSON output for the above example</summary>

</details>
```json
{
"openapi": "3.1.0",
Expand Down Expand Up @@ -184,5 +186,4 @@ const openApiSpec = getOpenAPISpecs(
}
```


</details>

0 comments on commit dd53037

Please sign in to comment.