We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d67c6d commit 69941a6Copy full SHA for 69941a6
src/core/components/response.jsx
@@ -107,6 +107,14 @@ export default class Response extends React.Component {
107
includeWriteOnly: true // writeOnly has no filtering effect in swagger 2.0
108
}) : null
109
}
110
+
111
+ if(examples) {
112
+ examples = examples.map(example => {
113
+ // Remove unwanted properties from examples
114
+ return example.set("$$ref", undefined)
115
+ })
116
+ }
117
118
let example = getExampleComponent( sampleResponse, examples, HighlightCode )
119
120
return (
0 commit comments