Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/plugins/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,19 @@ Additional OpenAPI reference for each endpoint

Scalar configuration, refers to [Scalar config](https://github.com/scalar/scalar/blob/main/documentation/configuration.md)

### Self-hosted Scalar bundle

Self-host the Scalar bundle and disable CDN Fonts.

```typescript
openapi({
scalar: {
cdn: "/public/scalar-standalone.min.js", //Self-hosted
withDefaultFonts: false, //Disable CDN Fonts
},
})
```

## specPath

@default '/${path}/json'
Expand Down