Skip to content

Commit

Permalink
Merge branch 'main' into feature/rosa_hcp_8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi authored Dec 20, 2024
2 parents f6b5a16 + 5df996f commit 5c91821
Show file tree
Hide file tree
Showing 283 changed files with 10,352 additions and 32,407 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ components:
scheme: bearer
bearerFormat: JWT
info:
title: Console SM Admin API
description: Access the administration API of Console SM.
title: Administration API (Self-Managed)
description: Access the administration API of Console Self-Managed.
version: 1.0.0
contact:
url: https://www.camunda.com
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
const { makeServerDynamic } = require("../make-server-dynamic");
const removeDuplicateVersionBadge = require("../remove-duplicate-version-badge");

const outputDir = "docs/apis-tools/console-sm-api/specifications";
const specFile = "api/console-sm/console-sm-openapi.yaml";
const outputDir = "docs/apis-tools/administration-sm-api/specifications";
const specFile = "api/administration-sm/administration-sm-openapi.yaml";

function preGenerateDocs() {
makeServerDynamic(specFile);
}

function postGenerateDocs() {
removeDuplicateVersionBadge(`${outputDir}/console-sm-admin-api.info.mdx`);
removeDuplicateVersionBadge(
`${outputDir}/administration-api-self-managed.info.mdx`
);
}

module.exports = {
Expand Down
Loading

0 comments on commit 5c91821

Please sign in to comment.