Skip to content

Commit bb54eaa

Browse files
authored
Merge pull request #4019 from swagger-api/swagger-ui/master
Do not display undocumenetd when there is a default response
2 parents 7f19d79 + 4320118 commit bb54eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/operation.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default class Operation extends PureComponent {
107107

108108
// Merge in Live Response
109109
if(responses && response && response.size > 0) {
110-
let notDocumented = !responses.get(String(response.get("status")))
110+
let notDocumented = !responses.get(String(response.get("status"))) && !responses.get("default")
111111
response = response.set("notDocumented", notDocumented)
112112
}
113113

0 commit comments

Comments
 (0)