-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from marclave/marc/update-to-scalar-1.13.0
fix: update scalar to v1.13.0
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,24 +24,26 @@ export interface ElysiaSwaggerConfig<Path extends string = '/swagger'> { | |
/** | ||
* Version to use for Scalar cdn bundle | ||
* | ||
* @default '1.12.5' | ||
* @default 'latest' | ||
* @see https://github.com/scalar/scalar | ||
*/ | ||
scalarVersion?: string | ||
/** | ||
* Optional override to specifying the path for the Scalar bundle | ||
* | ||
* Custom URL or path to locally hosted Scalar bundle | ||
* | ||
* Lease blank to use default jsdeliver.net CDN | ||
* | ||
* @default '' | ||
* @example 'https://unpkg.com/@scalar/[email protected]/dist/browser/standalone.js' | ||
* @example '/public/standalone.js' | ||
* @see https://github.com/scalar/scalar | ||
*/ | ||
scalarCDN?: string | ||
/** | ||
* Scalar configuration to customize scalar | ||
* | ||
* @default '1.12.5' | ||
*' | ||
* @see https://github.com/scalar/scalar | ||
*/ | ||
scalarConfig?: ReferenceConfiguration | ||
|