Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ihor Kaharlichenko
swagger-ui-oms
Commits
6db63006
Commit
6db63006
authored
Oct 07, 2013
by
Pavel Puchkarev
Browse files
fixing request_url updates for all operations in one resource
parent
0505d6ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/coffeescript/view/OperationView.coffee
View file @
6db63006
...
...
@@ -220,7 +220,7 @@ class OperationView extends Backbone.View
pre
=
$
(
'<pre class="json" />'
).
append
(
code
)
response_body
=
pre
$
(
".request_url"
).
html
"<pre>"
+
data
.
request
.
url
+
"</pre>"
$
(
".request_url"
,
$
(
@
el
)
).
html
"<pre>"
+
data
.
request
.
url
+
"</pre>"
$
(
".response_code"
,
$
(
@
el
)).
html
"<pre>"
+
data
.
status
+
"</pre>"
$
(
".response_body"
,
$
(
@
el
)).
html
response_body
$
(
".response_headers"
,
$
(
@
el
)).
html
"<pre>"
+
JSON
.
stringify
(
data
.
getHeaders
())
+
"</pre>"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment