Skip to content

Commit 7919c41

Browse files
committed
fix: omit allOf schema label
1 parent b99d30f commit 7919c41

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

packages/docusaurus-theme-openapi-docs/src/theme/Schema/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -871,9 +871,6 @@ const SchemaNode: React.FC<SchemaProps> = ({ schema, schemaType }) => {
871871

872872
return (
873873
<div>
874-
<span className="badge badge--info" style={{ marginBottom: "1rem" }}>
875-
{translate({ id: OPENAPI_SCHEMA_ITEM.ALL_OF, message: "allOf" })}
876-
</span>
877874
{mergedSchemas.oneOf && (
878875
<AnyOneOf schema={mergedSchemas} schemaType={schemaType} />
879876
)}

packages/docusaurus-theme-openapi-docs/src/theme/translationIds.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export const OPENAPI_SCHEMA_ITEM = {
8484
POSSIBLE_VALUES: "theme.openapi.schemaItem.possibleValues",
8585
ONE_OF: "theme.openapi.schemaItem.oneOf",
8686
ANY_OF: "theme.openapi.schemaItem.anyOf",
87-
ALL_OF: "theme.openapi.schemaItem.allOf",
8887
};
8988

9089
export const OPENAPI_PARAMS_DETAILS = {

0 commit comments

Comments
 (0)