Skip to content

Commit e3f1430

Browse files
authored
Display enum values in tables (#93)
* Add enum to param table * Add enum to schema table
1 parent c415f0f commit e3f1430

File tree

5 files changed

+1258
-3
lines changed

5 files changed

+1258
-3
lines changed

demo/docusaurus.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ const config = {
6767
routeBasePath: "yaml",
6868
},
6969
],
70+
[
71+
"docusaurus-plugin-openapi",
72+
{
73+
id: "petstore",
74+
path: "examples/petstore.yaml",
75+
routeBasePath: "petstore",
76+
},
77+
],
7078
],
7179

7280
themeConfig:
@@ -89,6 +97,7 @@ const config = {
8997
{ to: "/issue-21", label: "Issue 21", position: "left" },
9098
{ to: "/cos", label: "COS", position: "left" },
9199
{ to: "/yaml", label: "YAML", position: "left" },
100+
{ to: "/petstore", label: "Petstore", position: "left" },
92101
{ to: "/blog", label: "Blog", position: "left" },
93102
{
94103
href: "https://github.com/facebook/docusaurus",

0 commit comments

Comments
 (0)