Do not display undocumenetd when there is a default response

This commit is contained in:
Gonen Dukas
2017-12-11 17:49:16 +02:00
parent 351dbf981b
commit a5d1853557

View File

@@ -107,7 +107,7 @@ export default class Operation extends PureComponent {
// Merge in Live Response
if(responses && response && response.size > 0) {
let notDocumented = !responses.get(String(response.get("status")))
let notDocumented = !responses.get(String(response.get("status"))) && !responses.get("default")
response = response.set("notDocumented", notDocumented)
}