Skip to content

Commit

Permalink
Add APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron committed May 13, 2024
1 parent c8b6bfc commit 5c01228
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/build/apis/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ const categories = [
collapsed: true,
items: './docs/core/v2/sidebar',
},
{
type: 'category',
label: 'V3',
collapsed: true,
items: './docs/core/v3/sidebar',
},
],
},
{
Expand Down
13 changes: 12 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ module.exports = async () => {
id: 'openapi',
docsPluginId: 'apis', // e.g. "classic" or the plugin-content-docs id
config: {
coreApiShimmer: {
coreApiV2: {
specPath:
'https://raw.githubusercontent.com/iotaledger/tips/main/tips/TIP-0025/core-rest-api.yaml',
outputDir: path.resolve(
Expand All @@ -260,6 +260,17 @@ module.exports = async () => {
groupPathsBy: 'tag',
},
},
coreApiV3: {
specPath:
'https://raw.githubusercontent.com/iotaledger/tips/tip48/tips/TIP-0048/openapi3-core.yaml',
outputDir: path.resolve(
__dirname,
'docs/build/apis/docs/core/v3',
),
sidebarOptions: {
groupPathsBy: 'tag',
},
},
waspApi: {
specPath:
'https://raw.githubusercontent.com/iotaledger/wasp/develop/clients/apiclient/api/openapi.yaml',
Expand Down

0 comments on commit 5c01228

Please sign in to comment.