mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 14:14:56 +03:00
Response sample will now display summary as it's title and fallback to HTTP status code.
This commit is contained in:
parent
ddcd0fbdbd
commit
e8932e091f
|
@ -29,7 +29,7 @@ export class ResponseSamples extends React.Component<ResponseSamplesProps> {
|
|||
<TabList>
|
||||
{responses.map(response => (
|
||||
<Tab className={'tab-' + response.type} key={response.code}>
|
||||
{response.code}
|
||||
{response.summary ? response.summary : response.code}
|
||||
</Tab>
|
||||
))}
|
||||
</TabList>
|
||||
|
|
Loading…
Reference in New Issue
Block a user