diff --git a/library/src/components/Schema.tsx b/library/src/components/Schema.tsx index 61dd88ac8..8ec964f8a 100644 --- a/library/src/components/Schema.tsx +++ b/library/src/components/Schema.tsx @@ -209,7 +209,7 @@ export const Schema: React.FunctionComponent = ({ {schema.default() !== undefined && (
Default value: - + {SchemaHelpers.prettifyValue(schema.default())}
@@ -217,7 +217,7 @@ export const Schema: React.FunctionComponent = ({ {schema.const() !== undefined && (
Const: - + {SchemaHelpers.prettifyValue(schema.const())}
@@ -228,7 +228,7 @@ export const Schema: React.FunctionComponent = ({ {schema.enum()?.map((e, idx) => (
  • {SchemaHelpers.prettifyValue(e)}
  • @@ -259,7 +259,7 @@ export const Schema: React.FunctionComponent = ({ {schema.examples()?.map((e, idx) => (
  • {SchemaHelpers.prettifyValue(e)}
  • diff --git a/library/src/containers/Messages/Message.tsx b/library/src/containers/Messages/Message.tsx index 2b30b435b..f7466e57e 100644 --- a/library/src/containers/Messages/Message.tsx +++ b/library/src/containers/Messages/Message.tsx @@ -91,7 +91,7 @@ export const Message: React.FunctionComponent = ({
    Message ID - + {messageId}
    @@ -102,7 +102,7 @@ export const Message: React.FunctionComponent = ({
    Correlation ID - + {correlationId.location()}
    diff --git a/library/src/containers/Operations/Operation.tsx b/library/src/containers/Operations/Operation.tsx index c5e4010ee..cb1b76bf6 100644 --- a/library/src/containers/Operations/Operation.tsx +++ b/library/src/containers/Operations/Operation.tsx @@ -170,7 +170,7 @@ export const OperationInfo: React.FunctionComponent = (props) => { const specV = useSpec().version(); const version = specV.localeCompare('2.6.0', undefined, { numeric: true }); const isAsyncAPIv2 = version === 0; - const { borderColor, typeLabel } = + const { backgroundColor, typeLabel } = CommonHelpers.getOperationDesignInformation({ type, config, @@ -181,7 +181,7 @@ export const OperationInfo: React.FunctionComponent = (props) => {

    {typeLabel} @@ -223,7 +223,7 @@ export const OperationInfo: React.FunctionComponent = (props) => {
    Operation ID - + {operationId}