We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<div id="app" :class="{ editorWide: editorWide }"> <div id="specEditor" v-if="!settings"> <div v-for="(settingsKey, settingsName) in allSettings" class="settings" @click="selectSettings(settingsKey)">{{Â settingsName }}</div> <div class="settings new" @click="newSettings()">+ Create a new spec</div> </div> <div id="specEditor" v-if="settings"> <div class="editor"> <div class="measureHelper">Text</div> <textarea wrap="off" v-model="settings.spec" @change="save(); editorChanged = true;" spellcheck="false"></textarea> </div> <span class="editorWideToggle" @click="editorWide = !editorWide">{{Â editorWide ? '⧀' : '⧁' }}</span> </div> <div id="outputViewer" v-if="settings"> <div class="menu"> <button @click="load" :class="{ changed: editorChanged }">→ update from editor</button> <button @click="updateInlineViz" :class="{ changed: positionsChanged }">← update inline viz</button> <!--<button @click='dump'>≡ dump to console</button>--> <button @click="addSchema">⊕ schema</button> <div v-if="spec && spec.info" class="title">{{ spec.info.title }} <span class="version">{{ spec.info.version }}</span></div> </div> <div id="output"> <a v-for="(connection, c) in connections" v-bind:class="["arrow", connection.type]" v-bind:source="connection.source" v-bind:target="connection.target" v-bind:id=""connection" + c"></a> <div v-bind:class="["operation", operation._method]" v-bind:id="operation._key" v-bind:oaie-key="operation._key" v-bind:style="{ left: getPositionLeft(operation._key), top: getPositionTop(operation._key) }" v-for="operation in operations" v-draggable=""> <div class="path"> <b>{{Â operation._method }}</b> <span @click="selectPath("paths:/" + encodeURIComponent(operation._path) + ":/" + operation._method + ":")">{{ operation._path }}</span> </div> <div class="buttonRow"> <button class="mini" @click="moveAllY(operation, -50)">↑</button> <button class="mini" @click="moveAllY(operation, 50)">↓</button> </div> <div class="summary"><b>{{ operation.operationId }}</b> {{ operation.summary }}</div> <ul> <li v-for="parameter in operation.parameters" v-bind:class="{ required: parameter.required }"> <button>-</button> <span @click="selectPath("paths:/" + encodeURIComponent(operation._path) + ":/" + operation._method + ":/parameters:/- name: " + parameter.name, parameter.name)"> {{Â parameter.name }} ({{Â parameter.schema.type }}) </span> </li> <li><button>+</button></li> </ul> </div> <div class="schema" v-if="spec && spec.components" v-for="(schema, schemaName) in spec.components.schemas" v-bind:id=""schema." + schemaName" v-bind:oaie-key=""schema." + schemaName" v-bind:style="{ left: getPositionLeft("schema." + schemaName), top: getPositionTop("schema." + schemaName) }" v-draggable=""> <h1 @click="selectPath("components:/schemas:/" + schemaName + ":")">{{ schemaName }}</h1> <div class="description">{{ schema.description }}</div> <ul> <li v-for="(property, propertyName) in schema.properties"> <button>-</button> <span @click="selectPath("components:/schemas:/" + schemaName + ":/properties:/" + propertyName + ":")"> {{Â propertyName }} ({{Â property.type ? property.type : property.$ref ? property.$ref.replace('#/components/schemas/', '→') : '' }}) </span></li> <li><button @click="addSchemaProperty(schema, schemaName)">+</button></li> </ul> </div> </div> </div> </div> - invalid expression: missing ) after argument list in _s(Â settingsName) Raw expression: {{Â settingsName }} - invalid expression: missing ) after argument list in _s(Â editorWide ? '⧀' : '⧁') Raw expression: {{Â editorWide ? '⧀' : '⧁' }} - invalid expression: missing ) after argument list in _s(Â operation._method) Raw expression: {{Â operation._method }} - invalid expression: missing ) after argument list in "\n\t\t\t\t\t\t\t\t"+_s(Â parameter.name)+" ("+_s(Â parameter.schema.type)+")\n\t\t\t\t\t\t\t" Raw expression: {{Â parameter.name }} ({{Â parameter.schema.type }}) - invalid expression: missing ) after argument list in "\n\t\t\t\t\t\t\t\t"+_s(Â propertyName)+"\n\t\t\t\t\t\t\t\t("+_s(Â property.type ? property.type : property.$ref ? property.$ref.replace('#/components/schemas/', '→') : '')+")\n\t\t\t\t\t\t" Raw expression: {{Â propertyName }} ({{Â property.type ? property.type : property.$ref ? property.$ref.replace('#/components/schemas/', '→') : '' }}) (found in <Root>)
This happens when I load the page. Using tag 0.2.1
0.2.1
The text was updated successfully, but these errors were encountered:
@designermonkey, which browser are you on (i am on chrome)? does https://rawcdn.githack.com/OAIE/oaie-sketch/87075ce5890a475a9787da126ed134f6a5d681c7/sketch.html work for you?
Sorry, something went wrong.
I'm Chrome too. Yes the demo url works fine, just not when I clone the repo locally. I've tried master, 0.2.1 and 0.2, all failing.
master
0.2
I am running it inside docker nginx, if that's any help?
Edit:
It runs outside of the container. Now I'm confused as to how it's failing when it's served by nginx.
can you check if any errors come up in the network tab? there are some includes, if those fail, there may be any number of issues
ZPiDER666
No branches or pull requests
This happens when I load the page. Using tag
0.2.1
The text was updated successfully, but these errors were encountered: