Skip to content

Commit faad39d

Browse files
committed
build
1 parent 2379e48 commit faad39d

File tree

1 file changed

+1
-1
lines changed
  • packages/docusaurus-theme-openapi-docs/lib/theme/Schema

1 file changed

+1
-1
lines changed

packages/docusaurus-theme-openapi-docs/lib/theme/Schema/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const AnyOneOf = ({ schema, schemaType }) => {
108108
SchemaTabs_1.default,
109109
null,
110110
schema[type]?.map((anyOneSchema, index) => {
111-
const label = anyOneSchema.title || `MOD${index + 1}`;
111+
const label = anyOneSchema.title || anyOneSchema.type;
112112
return (
113113
// @ts-ignore
114114
react_1.default.createElement(

0 commit comments

Comments
 (0)