File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
packages/docusaurus-plugin-openapi-docs/src Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,7 @@ custom_edit_url: null
532532 version : version ,
533533 label : metadata . label ,
534534 baseUrl : metadata . baseUrl ,
535+ downloadUrl : metadata . downloadUrl ,
535536 } ) ;
536537 }
537538
@@ -682,6 +683,7 @@ custom_edit_url: null
682683 delete parentConfig . version ;
683684 delete parentConfig . label ;
684685 delete parentConfig . baseUrl ;
686+ delete parentConfig . downloadUrl ;
685687
686688 // TODO: handle when no versions are defined by version command is passed
687689 if ( versionId === "all" ) {
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export const OptionsSchema = Joi.object({
5959 outputDir : Joi . string ( ) . required ( ) ,
6060 label : Joi . string ( ) . required ( ) ,
6161 baseUrl : Joi . string ( ) . required ( ) ,
62+ downloadUrl : Joi . string ( ) ,
6263 } )
6364 ) ,
6465 } )
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ export interface APIVersionOptions {
7070 outputDir : string ;
7171 label : string ;
7272 baseUrl : string ;
73+ downloadUrl ?: string ;
7374}
7475
7576export interface LoadedContent {
You can’t perform that action at this time.
0 commit comments