Skip to content

Commit

Permalink
Add Astro support
Browse files Browse the repository at this point in the history
  • Loading branch information
zauni committed Sep 18, 2024
1 parent 0194c90 commit 18565d5
Show file tree
Hide file tree
Showing 8 changed files with 6,814 additions and 1,963 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,23 @@ build({

<br></details>

<details>
<summary>Astro</summary><br>

```ts
// astro.config.mjs
import { defineConfig } from 'astro/config';
import openapi from 'unplugin-openapi/astro'

export default defineConfig({
integrations: [
openapi(),
],
})
```

<br></details>

### Use

With an accompanying file `src/index.js`, the local `src/api.yaml` file would
Expand Down
Loading

0 comments on commit 18565d5

Please sign in to comment.