mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-29 09:29:57 +03:00
feat(): Change order of the extraApiReferenceForValidation
This commit is contained in:
parent
8162672f51
commit
e77fedf5db
|
@ -111,13 +111,6 @@ export const FieldDetailsComponent = observer((props: FieldProps) => {
|
|||
{!renderDiscriminatorSwitch && (
|
||||
<EnumValues isArrayType={isArrayType} values={schema.enum} />
|
||||
)}{' '}
|
||||
{!!extraApiReferenceForValidation && (
|
||||
<ExtraOperationInformation
|
||||
httpVerb={extraApiReferenceForValidation.httpVerb}
|
||||
label={extraApiReferenceForValidation.label}
|
||||
description={extraApiReferenceForValidation.description}
|
||||
/>
|
||||
)}
|
||||
{extraDescription && <ExtraDescription extraDescriptions={extraDescription} />}
|
||||
{renderedExamples}
|
||||
<Extensions extensions={{ ...extensions, ...schema.extensions }} />
|
||||
|
@ -129,6 +122,13 @@ export const FieldDetailsComponent = observer((props: FieldProps) => {
|
|||
)}
|
||||
{(renderDiscriminatorSwitch && renderDiscriminatorSwitch(props)) || null}
|
||||
{(_const && <FieldDetail label={l('const') + ':'} value={_const} />) || null}
|
||||
{!!extraApiReferenceForValidation && (
|
||||
<ExtraOperationInformation
|
||||
httpVerb={extraApiReferenceForValidation.httpVerb}
|
||||
label={extraApiReferenceForValidation.label}
|
||||
description={extraApiReferenceForValidation.description}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user