@mintlify/common 1.0.808 → 1.0.810
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi/index.d.ts +0 -1
- package/dist/openapi/index.js +0 -1
- package/dist/slug/getDecoratedNavPageAndSlug.js +0 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/openapi/prepOpenApiFrontmatter.d.ts +0 -1
- package/dist/openapi/prepOpenApiFrontmatter.js +0 -28
package/dist/openapi/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export { parseOpenApiString, potentiallyParseOpenApiString, parseOpenApiSchemaSt
|
|
|
4
4
|
export { getOpenApiTitleAndDescription } from './getOpenApiTitleAndDescription.js';
|
|
5
5
|
export { validate, safeValidate } from './validate.js';
|
|
6
6
|
export { getOpenApiDocumentFromUrl } from './getOpenApiDocumentFromUrl.js';
|
|
7
|
-
export { prepOpenApiFrontmatter } from './prepOpenApiFrontmatter.js';
|
|
8
7
|
export { buildOpenApiMetaTag } from './buildOpenApiMetaTag.js';
|
|
9
8
|
export { registerXMintContent, getXMintContent, getAllXMintContent } from './contentRegistry.js';
|
|
10
9
|
export { getMatchingOpenApiFile, type ApiReferenceMapping, type FileToUuidMap, type UuidToRefsMap, } from './getMatchingOpenApiFile.js';
|
package/dist/openapi/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export { parseOpenApiString, potentiallyParseOpenApiString, parseOpenApiSchemaSt
|
|
|
4
4
|
export { getOpenApiTitleAndDescription } from './getOpenApiTitleAndDescription.js';
|
|
5
5
|
export { validate, safeValidate } from './validate.js';
|
|
6
6
|
export { getOpenApiDocumentFromUrl } from './getOpenApiDocumentFromUrl.js';
|
|
7
|
-
export { prepOpenApiFrontmatter } from './prepOpenApiFrontmatter.js';
|
|
8
7
|
export { buildOpenApiMetaTag } from './buildOpenApiMetaTag.js';
|
|
9
8
|
export { registerXMintContent, getXMintContent, getAllXMintContent } from './contentRegistry.js';
|
|
10
9
|
export { getMatchingOpenApiFile, } from './getMatchingOpenApiFile.js';
|
|
@@ -3,7 +3,6 @@ import { prepAsyncApiFrontmatter } from '../asyncapi/prepAsyncApiFrontmatter.js'
|
|
|
3
3
|
import { parseFrontmatter } from '../frontmatter/index.js';
|
|
4
4
|
import { removeLeadingSlash, optionallyAddLeadingSlash } from '../fs/index.js';
|
|
5
5
|
import { getOpenApiTitleAndDescription } from '../openapi/getOpenApiTitleAndDescription.js';
|
|
6
|
-
import { prepOpenApiFrontmatter } from '../openapi/prepOpenApiFrontmatter.js';
|
|
7
6
|
import { pagePathToSlug } from './pagePathToSlug.js';
|
|
8
7
|
import { slugToTitle } from './slugToTitle.js';
|
|
9
8
|
export const getDecoratedNavPageAndSlug = (pagePath, pageContent, openApiFiles, asyncApiFiles) => {
|
|
@@ -31,7 +30,6 @@ export const getDecoratedNavPageAndSlug = (pagePath, pageContent, openApiFiles,
|
|
|
31
30
|
let schemaTitle;
|
|
32
31
|
let schemaDescription;
|
|
33
32
|
if (metadata.openapi) {
|
|
34
|
-
metadata.openapi = prepOpenApiFrontmatter(pagePath, metadata.openapi);
|
|
35
33
|
const { title: openApiSchemaTitle, description: openApiSchemaDescription } = getOpenApiTitleAndDescription(openApiFiles, metadata.openapi);
|
|
36
34
|
schemaTitle = openApiSchemaTitle;
|
|
37
35
|
schemaDescription = openApiSchemaDescription;
|