Skip to content

Commit ca6322f

Browse files
authored
Cleanup API doc demos (#400)
* Remove test API * Remove nullable examples
1 parent a21e6a7 commit ca6322f

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

demo/docusaurus.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,6 @@ const config = {
239239
specPath: "examples/food/yogurtstore/openapi.yaml",
240240
outputDir: "docs/food/yogurtstore",
241241
},
242-
config: {
243-
specPath:
244-
"https://raw.githubusercontent.com/PaloAltoNetworks/pan.dev/master/openapi-specs/access/prisma-access-config/AddressGroups.yaml",
245-
outputDir: "docs/config",
246-
sidebarOptions: {
247-
groupPathsBy: "tag",
248-
},
249-
},
250242
},
251243
},
252244
],

demo/examples/petstore.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,12 +1060,10 @@ components:
10601060
description: The name given to a pet
10611061
type: string
10621062
example: Guru
1063-
nullable: true
10641063
photoUrls:
10651064
description: The list of URL to a cute photos featuring pet
10661065
type: array
10671066
maxItems: 20
1068-
nullable: true
10691067
xml:
10701068
name: photoUrl
10711069
wrapped: true
@@ -1079,7 +1077,6 @@ components:
10791077
description: Tags attached to the pet
10801078
type: array
10811079
minItems: 1
1082-
nullable: true
10831080
xml:
10841081
name: tag
10851082
wrapped: true
@@ -1104,7 +1101,6 @@ components:
11041101
Tag:
11051102
title: tag
11061103
type: object
1107-
nullable: true
11081104
properties:
11091105
id:
11101106
description: Tag ID

demo/sidebars.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ const sidebars = {
7070
},
7171
items: require("./docs/cos/sidebar.js"),
7272
},
73-
{
74-
type: "category",
75-
label: "Address Groups",
76-
link: {
77-
type: "generated-index",
78-
title: "Address Groups",
79-
slug: "/category/config-api",
80-
},
81-
items: require("./docs/config/sidebar.js"),
82-
},
8373
{
8474
type: "category",
8575
label: "Burgers",

0 commit comments

Comments
 (0)