File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,20 @@ const config: Config = {
302302 hideSendButton : false ,
303303 showSchemas : true ,
304304 } satisfies OpenApiPlugin . Options ,
305+ petstore_nested : {
306+ specPath : "examples/petstore.yaml" ,
307+ proxy : "https://cors.pan.dev" ,
308+ outputDir : "docs/petstore_nested" ,
309+ sidebarOptions : {
310+ groupPathsBy : "tag" ,
311+ categoryLinkSource : "tag" ,
312+ nested : true ,
313+ } ,
314+ template : "api.mustache" , // Customize API MDX with mustache template
315+ downloadUrl : "/petstore.yaml" ,
316+ hideSendButton : false ,
317+ showSchemas : true ,
318+ } satisfies OpenApiPlugin . Options ,
305319 petstore31 : {
306320 specPath : "examples/petstore-3.1.yaml" ,
307321 proxy : "https://cors.pan.dev" ,
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ const sidebars: SidebarsConfig = {
136136 items : require ( "./docs/restaurant/sidebar.js" ) ,
137137 } ,
138138 ] ,
139+ petstore_nested : [ { type : "autogenerated" , dirName : "." } ] ,
139140 "petstore-2.0.0" : [
140141 {
141142 type : "html" ,
You can’t perform that action at this time.
0 commit comments