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 f6eeb4e commit b269cdbCopy full SHA for b269cdb
apps/generator/lib/conditionalGeneration.js
@@ -111,9 +111,7 @@ async function conditionalSubjectGeneration (
111
const server = templateParams.server && asyncapiDocument.servers().get(templateParams.server);
112
const source = jmespath.search({
113
...asyncapiDocument.json(),
114
- ...{
115
- server: server ? server.json() : undefined,
116
- },
+ server: server ? server.json() : undefined,
117
}, subject);
118
119
if (!source) {
0 commit comments