diff --git a/Annotation/ApiDoc.php b/Annotation/ApiDoc.php
index 006a40e..f853d9f 100644
--- a/Annotation/ApiDoc.php
+++ b/Annotation/ApiDoc.php
@@ -20,7 +20,12 @@ class ApiDoc
/**
* @var string
*/
- private $comment = null;
+ private $description = null;
+
+ /**
+ * @var Boolean
+ */
+ private $isResource = false;
public function __construct(array $data)
{
@@ -39,9 +44,11 @@ class ApiDoc
}
}
- if (isset($data['comment'])) {
- $this->comment = $data['comment'];
+ if (isset($data['description'])) {
+ $this->description = $data['description'];
}
+
+ $this->isResource = isset($data['resource']);
}
public function getFilters()
@@ -54,8 +61,13 @@ class ApiDoc
return $this->formType;
}
- public function getComment()
+ public function getDescription()
{
- return $this->comment;
+ return $this->description;
+ }
+
+ public function isResource()
+ {
+ return $this->isResource;
}
}
diff --git a/Extractor/ApiDocExtractor.php b/Extractor/ApiDocExtractor.php
index 60b02b9..c60df5c 100644
--- a/Extractor/ApiDocExtractor.php
+++ b/Extractor/ApiDocExtractor.php
@@ -28,15 +28,51 @@ class ApiDocExtractor
public function all()
{
$array = array();
+ $resources = array();
foreach ($this->router->getRouteCollection()->all() as $route) {
preg_match('#(.+)::([\w]+)#', $route->getDefault('_controller'), $matches);
$method = new \ReflectionMethod($matches[1], $matches[2]);
if ($annot = $this->reader->getMethodAnnotation($method, self::ANNOTATION_CLASS)) {
+ if ($annot->isResource()) {
+ $resources[] = $route->getPattern();
+ }
+
$array[] = array('annotation' => $annot, 'route' => $route);
}
}
+ rsort($resources);
+ foreach ($array as $index => $element) {
+ $hasResource = false;
+ $pattern = $element['route']->getPattern();
+
+ foreach ($resources as $resource) {
+ if (0 === strpos($pattern, $resource)) {
+ $array[$index]['resource'] = $resource;
+
+ $hasResource = true;
+ break;
+ }
+ }
+
+ if (false === $hasResource) {
+ $array[$index]['resource'] = 'others';
+ }
+ }
+
+ usort($array, function($a, $b) {
+ if ($a['resource'] === $b['resource']) {
+ if ($a['route']->getPattern() === $b['route']->getPattern()) {
+ return strcmp($a['route']->getRequirement('_method'), $b['route']->getRequirement('_method'));
+ }
+
+ return strcmp($a['route']->getPattern(), $b['route']->getPattern());
+ }
+
+ return strcmp($a['resource'], $b['resource']);
+ });
+
return $array;
}
diff --git a/Formatter/AbstractFormatter.php b/Formatter/AbstractFormatter.php
index 5616d5c..4358860 100644
--- a/Formatter/AbstractFormatter.php
+++ b/Formatter/AbstractFormatter.php
@@ -33,21 +33,52 @@ abstract class AbstractFormatter implements FormatterInterface
{
$array = array();
foreach ($collection as $coll) {
- $array[] = $this->getData($coll['annotation'], $coll['route']);
+ $resource = $coll['resource'];
+ if (!isset($array[$resource])) {
+ $array[$resource] = array();
+ }
+
+ $array[$resource][] = $this->getData($coll['annotation'], $coll['route']);
}
return $this->render($array);
}
+ /**
+ * Format a single array of data
+ *
+ * @param array $data
+ * @return string|array
+ */
protected abstract function renderOne(array $data);
+ /**
+ * Format a set of data for a given resource.
+ *
+ * @param string $resource A resource name.
+ * @param array $arrayOfData A set of data.
+ * @return string|array
+ */
+ protected abstract function renderResourceSection($resource, array $arrayOfData);
+
+ /**
+ * Format a set of resource sections.
+ *
+ * @param array $collection
+ * @return string|array
+ */
protected abstract function render(array $collection);
+ /**
+ * @param ApiDoc $apiDoc
+ * @param Route $route
+ * @return array
+ */
private function getData(ApiDoc $apiDoc, Route $route)
{
$method = $route->getRequirement('_method');
$data = array(
- 'method' => $method,
+ 'method' => $method ?: 'ANY',
'uri' => $route->compile()->getPattern(),
'requirements' => $route->compile()->getRequirements(),
);
@@ -60,7 +91,7 @@ abstract class AbstractFormatter implements FormatterInterface
if ('PUT' === $method) {
// All parameters are optional with PUT (update)
array_walk($data['parameters'], function($val, $key) use (&$data) {
- $data['parameters'][$key]['is_required'] = false;
+ $data['parameters'][$key]['required'] = false;
});
}
}
@@ -69,8 +100,8 @@ abstract class AbstractFormatter implements FormatterInterface
$data['filters'] = $filters;
}
- if ($comment = $apiDoc->getComment()) {
- $data['comment'] = $comment;
+ if ($description = $apiDoc->getDescription()) {
+ $data['description'] = $description;
}
return $data;
diff --git a/Formatter/HtmlFormatter.php b/Formatter/HtmlFormatter.php
index 2f71e78..820544d 100644
--- a/Formatter/HtmlFormatter.php
+++ b/Formatter/HtmlFormatter.php
@@ -12,7 +12,12 @@ class HtmlFormatter extends AbstractFormatter
*/
public function formatOne(ApiDoc $apiDoc, Route $route)
{
- return $this->renderWithLayout(parent::formatOne($apiDoc, $route));
+ extract(array('content' => parent::formatOne($apiDoc, $route)));
+
+ ob_start();
+ include __DIR__ . '/../Resources/views/formatter_resource_section.html.php';
+
+ return $this->renderWithLayout(ob_get_clean());
}
/**
@@ -28,14 +33,32 @@ class HtmlFormatter extends AbstractFormatter
return ob_get_clean();
}
+ /**
+ * {@inheritdoc}
+ */
+ protected function renderResourceSection($resource, array $arrayOfData)
+ {
+ $content = '';
+ foreach ($arrayOfData as $data) {
+ $content .= $this->renderOne($data);
+ }
+
+ extract(array('content' => $content));
+
+ ob_start();
+ include __DIR__ . '/../Resources/views/formatter_resource_section.html.php';
+
+ return ob_get_clean();
+ }
+
/**
* {@inheritdoc}
*/
protected function render(array $collection)
{
$content = '';
- foreach ($collection as $data) {
- $content .= $this->renderOne($data);
+ foreach ($collection as $resource => $arrayOfData) {
+ $content .= $this->renderResourceSection($resource, $arrayOfData);
}
return $this->renderWithLayout($content);
@@ -43,8 +66,7 @@ class HtmlFormatter extends AbstractFormatter
private function renderWithLayout($content)
{
- $array = array('content' => $content);
- extract($array);
+ extract(array('content' => $content));
ob_start();
include __DIR__ . '/../Resources/views/formatter_layout.html.php';
diff --git a/Formatter/MarkdownFormatter.php b/Formatter/MarkdownFormatter.php
index 8621e97..e32ac6e 100644
--- a/Formatter/MarkdownFormatter.php
+++ b/Formatter/MarkdownFormatter.php
@@ -11,8 +11,8 @@ class MarkdownFormatter extends AbstractFormatter
{
$markdown = sprintf("### `%s` %s ###\n", $data['method'], $data['uri']);
- if (isset($data['comment'])) {
- $markdown .= sprintf("\n_%s_", $data['comment']);
+ if (isset($data['description'])) {
+ $markdown .= sprintf("\n_%s_", $data['description']);
}
$markdown .= "\n\n";
@@ -46,8 +46,8 @@ class MarkdownFormatter extends AbstractFormatter
foreach ($data['parameters'] as $name => $parameter) {
$markdown .= sprintf("%s:\n\n", $name);
- $markdown .= sprintf(" * type: %s\n", $parameter['type']);
- $markdown .= sprintf(" * is_required: %s\n", $parameter['is_required'] ? 'true' : 'false');
+ $markdown .= sprintf(" * type: %s\n", $parameter['dataType']);
+ $markdown .= sprintf(" * is_required: %s\n", $parameter['required'] ? 'true' : 'false');
$markdown .= "\n";
}
}
@@ -55,14 +55,29 @@ class MarkdownFormatter extends AbstractFormatter
return $markdown;
}
+ /**
+ * {@inheritdoc}
+ */
+ protected function renderResourceSection($resource, array $arrayOfData)
+ {
+ $markdown = sprintf("# %s #\n\n", $resource);
+
+ foreach ($arrayOfData as $data) {
+ $markdown .= $this->renderOne($data);
+ $markdown .= "\n";
+ }
+
+ return $markdown;
+ }
+
/**
* {@inheritdoc}
*/
protected function render(array $collection)
{
$markdown = '';
- foreach ($collection as $data) {
- $markdown .= $this->renderOne($data);
+ foreach ($collection as $resource => $arrayOfData) {
+ $markdown .= $this->renderResourceSection($resource, $arrayOfData);
$markdown .= "\n";
}
diff --git a/Formatter/SimpleFormatter.php b/Formatter/SimpleFormatter.php
index 0dc6ee7..0f9901e 100644
--- a/Formatter/SimpleFormatter.php
+++ b/Formatter/SimpleFormatter.php
@@ -15,7 +15,15 @@ class SimpleFormatter extends AbstractFormatter
/**
* {@inheritdoc}
*/
- protected function renderOne(array $collection)
+ protected function renderResourceSection($resource, array $arrayOfData)
+ {
+ return array($resource => $arrayOfData);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function render(array $collection)
{
return $collection;
}
diff --git a/Parser/FormTypeParser.php b/Parser/FormTypeParser.php
index 49e3175..dfe160f 100644
--- a/Parser/FormTypeParser.php
+++ b/Parser/FormTypeParser.php
@@ -42,8 +42,8 @@ class FormTypeParser
}
$parameters[$name] = array(
- 'type' => $bestType,
- 'is_required' => $b->getRequired()
+ 'dataType' => $bestType,
+ 'required' => $b->getRequired()
);
}
diff --git a/Resources/public/css/screen.css b/Resources/public/css/screen.css
index 7eb7bf3..3284db5 100644
--- a/Resources/public/css/screen.css
+++ b/Resources/public/css/screen.css
@@ -2,7 +2,7 @@ html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
+smany, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
@@ -11,290 +11,387 @@ article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
-margin: 0;
-padding: 0;
-border: 0;
-font-size: 100%;
-font: inherit;
-vertical-align: baseline; }
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
body {
-line-height: 1; }
+ line-height: 1;
+}
ol, ul {
-list-style: none; }
+ list-style: none;
+}
table {
-border-collapse: collapse;
-border-spacing: 0; }
+ border-collapse: collapse;
+ border-spacing: 0;
+}
caption, th, td {
-text-align: left;
-font-weight: normal;
-vertical-align: middle; }
+ text-align: left;
+ font-weight: normal;
+ vertical-align: middle;
+}
q, blockquote {
-quotes: none; }
+ quotes: none;
+}
q:before, q:after, blockquote:before, blockquote:after {
-content: "";
-content: none; }
+ content: "";
+ content: none;
+}
a img {
-border: none; }
+ border: none;
+}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
-display: block; }
+ display: block;
+}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
-text-decoration: none; }
+ text-decoration: none;
+}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
-text-decoration: underline; }
+ text-decoration: underline;
+}
h1 span.divider, h2 span.divider, h3 span.divider, h4 span.divider, h5 span.divider, h6 span.divider {
-color: #aaaaaa; }
+ color: #aaaaaa;
+}
h1 {
-color: #547f00;
-color: black;
-font-size: 1.5em;
-line-height: 1.3em;
-padding: 10px 0 10px 0;
-font-family: "Droid Sans", sans-serif;
-font-weight: bold; }
+ color: #547f00;
+ color: black;
+ font-size: 1.5em;
+ line-height: 1.3em;
+ padding: 10px 0 10px 0;
+ font-family: "Droid Sans", sans-serif;
+ font-weight: bold;
+}
h2 {
-color: #89bf04;
-color: black;
-font-size: 1.3em;
-padding: 10px 0 10px 0; }
+ color: #89bf04;
+ color: black;
+ font-size: 1.3em;
+ padding: 10px 0 10px 0;
+}
h2 a {
-color: black; }
+ color: black;
+}
h2 span.sub {
-font-size: 0.7em;
-color: #999999;
-font-style: italic; }
+ font-size: 0.7em;
+ color: #999999;
+ font-style: italic;
+}
h2 span.sub a {
-color: #777777; }
+ color: #777777;
+}
h3 {
-color: black;
-font-size: 1.1em;
-padding: 10px 0 10px 0; }
+ color: black;
+ font-size: 1.1em;
+ padding: 10px 0 10px 0;
+}
div.heading_with_menu {
-float: none;
-clear: both;
-overflow: hidden;
-display: block; }
+ float: none;
+ clear: both;
+ overflow: hidden;
+ display: block;
+}
div.heading_with_menu h1, div.heading_with_menu h2, div.heading_with_menu h3, div.heading_with_menu h4, div.heading_with_menu h5, div.heading_with_menu h6 {
-display: block;
-clear: none;
-float: left;
--moz-box-sizing: border-box;
--webkit-box-sizing: border-box;
--ms-box-sizing: border-box;
-box-sizing: border-box;
-width: 60%; }
+ display: block;
+ clear: none;
+ float: left;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ width: 60%;
+}
div.heading_with_menu ul {
-display: block;
-clear: none;
-float: right;
--moz-box-sizing: border-box;
--webkit-box-sizing: border-box;
--ms-box-sizing: border-box;
-box-sizing: border-box;
-margin-top: 10px; }
+ display: block;
+ clear: none;
+ float: right;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ margin-top: 10px;
+}
p {
-line-height: 1.4em;
-padding: 0 0 10px 0;
-color: #333333; }
+ line-height: 1.4em;
+ padding: 0 0 10px 0;
+ color: #333333;
+}
ol {
-margin: 0px 0 10px 0;
-padding: 0 0 0 18px;
-list-style-type: decimal; }
+ margin: 0px 0 10px 0;
+ padding: 0 0 0 18px;
+ list-style-type: decimal;
+}
ol li {
-padding: 5px 0px;
-font-size: 0.9em;
-color: #333333; }
+ padding: 5px 0px;
+ font-size: 0.9em;
+ color: #333333;
+}
.markdown h3 {
-color: #547f00; }
+ color: #547f00;
+}
.markdown h4 {
-color: #666666; }
+ color: #666666;
+}
.markdown pre {
-font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
-background-color: #fcf6db;
-border: 1px solid black;
-border-color: #e5e0c6;
-padding: 10px;
-margin: 0 0 10px 0; }
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
+ background-color: #fcf6db;
+ border: 1px solid black;
+ border-color: #e5e0c6;
+ padding: 10px;
+ margin: 0 0 10px 0;
+}
.markdown pre code {
-line-height: 1.6em; }
+ line-height: 1.6em;
+}
.markdown p code, .markdown li code {
-font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
-background-color: #f0f0f0;
-color: black;
-padding: 1px 3px; }
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
+ background-color: #f0f0f0;
+ color: black;
+ padding: 1px 3px;
+}
.markdown ol, .markdown ul {
-font-family: "Droid Sans", sans-serif;
-margin: 5px 0 10px 0;
-padding: 0 0 0 18px;
-list-style-type: disc; }
+ font-family: "Droid Sans", sans-serif;
+ margin: 5px 0 10px 0;
+ padding: 0 0 0 18px;
+ list-style-type: disc;
+}
.markdown ol li, .markdown ul li {
-padding: 3px 0px;
-line-height: 1.4em;
-color: #333333; }
+ padding: 3px 0px;
+ line-height: 1.4em;
+ color: #333333;
+}
div.gist {
-margin: 20px 0 25px 0 !important; }
+ margin: 20px 0 25px 0 !important;
+}
p.big, div.big p {
-font-size: 1 em;
-margin-bottom: 10px; }
+ font-size: 1 em;
+ margin-bottom: 10px;
+}
span.weak {
-color: #666666; }
+ color: #666666;
+}
span.blank, span.empty {
-color: #888888;
-font-style: italic; }
+ color: #888888;
+ font-style: italic;
+}
a {
-color: #547f00; }
+ color: #547f00;
+}
strong {
-font-family: "Droid Sans", sans-serif;
-font-weight: bold;
-font-weight: bold; }
+ font-family: "Droid Sans", sans-serif;
+ font-weight: bold;
+ font-weight: bold;
+}
.code {
-font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; }
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
+}
pre {
-font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
-background-color: #fcf6db;
-border: 1px solid black;
-border-color: #e5e0c6;
-padding: 10px;
-/* white-space: pre-line */ }
+ font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
+ background-color: #fcf6db;
+ border: 1px solid black;
+ border-color: #e5e0c6;
+ padding: 10px;
+ /* white-space: pre-line */
+}
pre code {
-line-height: 1.6em; }
+ line-height: 1.6em;
+}
.required {
-font-weight: bold; }
+ font-weight: bold;
+}
table.fullwidth {
-width: 100%; }
+ width: 100%;
+}
table thead tr th {
padding: 5px;
font-size: 0.9em;
color: #666666;
-border-bottom: 1px solid #999999; }
+ border-bottom: 1px solid #999999;
+}
table tbody tr.offset {
-background-color: #f5f5f5; }
+ background-color: #f5f5f5;
+}
table tbody tr td {
padding: 6px;
font-size: 0.9em;
border-bottom: 1px solid #cccccc;
vertical-align: top;
-line-height: 1.3em; }
+ line-height: 1.3em;
+}
table tbody tr:last-child td {
-border-bottom: none; }
+ border-bottom: none;
+}
table tbody tr.offset {
-background-color: #f0f0f0; }
+ background-color: #f0f0f0;
+}
form.form_box {
background-color: #ebf3f9;
border: 1px solid black;
border-color: #c3d9ec;
-padding: 10px; }
+ padding: 10px;
+}
form.form_box label {
-color: #0f6ab4 !important; }
+ color: #0f6ab4 !important;
+}
form.form_box input[type=submit] {
display: block;
-padding: 10px; }
+ padding: 10px;
+}
form.form_box p {
font-size: 0.9em;
padding: 0 0 15px 0;
-color: #7e7b6d; }
+ color: #7e7b6d;
+}
form.form_box p a {
-color: #646257; }
+ color: #646257;
+}
form.form_box p strong {
-color: black; }
+ color: black;
+}
form.form_box p.weak {
-font-size: 0.8em; }
+ font-size: 0.8em;
+}
form.formtastic fieldset.inputs ol li p.inline-hints {
margin-left: 0;
font-style: italic;
font-size: 0.9em;
-margin: 0; }
+ margin: 0;
+}
form.formtastic fieldset.inputs ol li label {
display: block;
clear: both;
width: auto;
padding: 0 0 3px 0;
-color: #666666; }
+ color: #666666;
+}
form.formtastic fieldset.inputs ol li label abbr {
padding-left: 3px;
-color: #888888; }
+ color: #888888;
+}
form.formtastic fieldset.inputs ol li.required label {
-color: black; }
+ color: black;
+}
form.formtastic fieldset.inputs ol li.string input, form.formtastic fieldset.inputs ol li.url input, form.formtastic fieldset.inputs ol li.numeric input {
display: block;
padding: 4px;
width: auto;
-clear: both; }
+ clear: both;
+}
form.formtastic fieldset.inputs ol li.string input.title, form.formtastic fieldset.inputs ol li.url input.title, form.formtastic fieldset.inputs ol li.numeric input.title {
-font-size: 1.3em; }
+ font-size: 1.3em;
+}
form.formtastic fieldset.inputs ol li.text textarea {
font-family: "Droid Sans", sans-serif;
height: 250px;
padding: 4px;
display: block;
-clear: both; }
+ clear: both;
+}
form.formtastic fieldset.inputs ol li.select select {
display: block;
-clear: both; }
+ clear: both;
+}
form.formtastic fieldset.inputs ol li.boolean {
float: none;
clear: both;
overflow: hidden;
-display: block; }
+ display: block;
+}
form.formtastic fieldset.inputs ol li.boolean input {
display: block;
float: left;
clear: none;
-margin: 0 5px 0 0; }
+ margin: 0 5px 0 0;
+}
form.formtastic fieldset.inputs ol li.boolean label {
display: block;
float: left;
clear: none;
margin: 0;
-padding: 0; }
+ padding: 0;
+}
form.formtastic fieldset.buttons {
margin: 0;
-padding: 0; }
+ padding: 0;
+}
form.fullwidth ol li.string input, form.fullwidth ol li.url input, form.fullwidth ol li.text textarea, form.fullwidth ol li.numeric input {
-width: 500px !important; }
+ width: 500px !important;
+}
body {
font-family: "Droid Sans", sans-serif;
- margin: 1% auto;
}
-body ul#resources {
- padding: 0 15px;
+
+body #header {
+ background-color: #89BF04;
+ padding: 1%;
+ margin-bottom: 1%;
+}
+
+body #header h1 {
+ font-size: 1.2em;
+}
+
+body p#colophon {
+ margin: 0 15px 40px 15px;
+ padding: 10px 0;
+ font-size: 0.8em;
+ border-top: 1px solid #dddddd;
font-family: "Droid Sans", sans-serif;
-font-size: 0.9em; }
+ color: #999999;
+ font-style: italic;
+}
+
+body p#colophon a {
+ text-decoration: none;
+ color: #547f00;
+}
+
+body ul#resources {
+ padding: 0 1%;
+ font-family: "Droid Sans", sans-serif;
+ font-size: 0.9em;
+}
+
body ul#resources li.resource {
-border-bottom: 1px solid #dddddd; }
+ border-bottom: 1px solid #dddddd;
+}
body ul#resources li.resource:last-child {
-border-bottom: none; }
+ border-bottom: none;
+}
body ul#resources li.resource div.heading {
border: 1px solid transparent;
float: none;
clear: both;
overflow: hidden;
-display: block; }
+ display: block;
+}
body ul#resources li.resource div.heading h2 {
color: #999999;
padding-left: 0px;
@@ -302,11 +399,14 @@ body ul#resources li.resource div.heading h2 {
clear: none;
float: left;
font-family: "Droid Sans", sans-serif;
-font-weight: bold; }
+ font-weight: bold;
+}
body ul#resources li.resource div.heading h2 a {
-color: #999999; }
+ color: #999999;
+}
body ul#resources li.resource div.heading h2 a:hover {
-color: black; }
+ color: black;
+}
body ul#resources li.resource div.heading ul.options {
float: none;
clear: both;
@@ -316,38 +416,48 @@ body ul#resources li.resource div.heading ul.options {
display: block;
clear: none;
float: right;
-margin: 14px 10px 0 0; }
+ margin: 14px 10px 0 0;
+}
body ul#resources li.resource div.heading ul.options li {
float: left;
clear: none;
margin: 0;
padding: 2px 10px;
-border-right: 1px solid #dddddd; }
+ border-right: 1px solid #dddddd;
+}
body ul#resources li.resource div.heading ul.options li:first-child, body ul#resources li.resource div.heading ul.options li.first {
-padding-left: 0; }
+ padding-left: 0;
+}
body ul#resources li.resource div.heading ul.options li:last-child, body ul#resources li.resource div.heading ul.options li.last {
padding-right: 0;
-border-right: none; }
+ border-right: none;
+}
body ul#resources li.resource div.heading ul.options li {
color: #666666;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource div.heading ul.options li a {
color: #aaaaaa;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource div.heading ul.options li a:hover {
text-decoration: underline;
-color: black; }
+ color: black;
+}
body ul#resources li.resource:hover div.heading h2 a, body ul#resources li.resource.active div.heading h2 a {
-color: black; }
+ color: black;
+}
body ul#resources li.resource:hover div.heading ul.options li a, body ul#resources li.resource.active div.heading ul.options li a {
-color: #555555; }
+ color: #555555;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get {
float: none;
clear: both;
overflow: hidden;
display: block;
margin: 0 0 10px 0;
-padding: 0 0 0 0px; }
+ padding: 0 0 0 0px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading {
float: none;
clear: both;
@@ -357,7 +467,8 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
padding: 0;
background-color: #e7f0f7;
border: 1px solid black;
-border-color: #c3d9ec; }
+ border-color: #c3d9ec;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 {
display: block;
clear: none;
@@ -366,10 +477,12 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
margin: 0;
padding: 0;
line-height: 1.1em;
-color: black; }
+ color: black;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span {
margin: 0;
-padding: 0; }
+ padding: 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a {
text-transform: uppercase;
background-color: #0f6ab4;
@@ -385,14 +498,18 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-o-border-radius: 2px;
-ms-border-radius: 2px;
-khtml-border-radius: 2px;
-border-radius: 2px; }
+ border-radius: 2px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path {
-padding-left: 10px; }
+ padding-left: 10px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path a {
color: black;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path a:hover {
-text-decoration: underline; }
+ text-decoration: underline;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options {
float: none;
clear: both;
@@ -402,27 +519,34 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
display: block;
clear: none;
float: right;
-margin: 6px 10px 0 0; }
+ margin: 6px 10px 0 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
float: left;
clear: none;
margin: 0;
padding: 2px 10px;
-border-right: 1px solid #dddddd; }
+ border-right: 1px solid #dddddd;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.first {
-padding-left: 0; }
+ padding-left: 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last {
padding-right: 0;
-border-right: none; }
+ border-right: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li {
border-right-color: #c3d9ec;
color: #0f6ab4;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a {
color: #0f6ab4;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a.active {
-text-decoration: underline; }
+ text-decoration: underline;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content {
background-color: #ebf3f9;
border: 1px solid black;
@@ -441,53 +565,65 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-ms-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
-margin: 0 0 20px 0; }
+ margin: 0 0 20px 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 {
color: #0f6ab4;
font-size: 1.1em;
margin: 0;
-padding: 15px 0 5px 0px; }
+ padding: 15px 0 5px 0px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content form input[type='text'].error {
outline: 2px solid black;
-outline-color: #cc0000; }
+ outline-color: #cc0000;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header {
float: none;
clear: both;
overflow: hidden;
-display: block; }
+ display: block;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header input.submit {
display: block;
clear: none;
float: left;
-padding: 6px 8px; }
+ padding: 6px 8px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header img {
display: block;
display: block;
clear: none;
-float: right; }
+ float: right;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a {
padding: 4px 0 0 10px;
color: #6fa5d2;
display: inline-block;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.response div.block {
background-color: #fcf6db;
border: 1px solid black;
-border-color: #e5e0c6; }
+ border-color: #e5e0c6;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.response div.block pre {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
padding: 10px;
font-size: 0.9em;
max-height: 400px;
-overflow-y: auto; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post {
+ overflow-y: auto;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any {
float: none;
clear: both;
overflow: hidden;
display: block;
margin: 0 0 10px 0;
-padding: 0 0 0 0px; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading {
+ padding: 0 0 0 0px;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading {
float: none;
clear: both;
overflow: hidden;
@@ -496,8 +632,16 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
padding: 0;
background-color: #e7f6ec;
border: 1px solid black;
-border-color: #c3e8d1; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 {
+ border-color: #c3e8d1;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading {
+ background-color: lightgray;
+ border-color: gray;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 {
display: block;
clear: none;
float: left;
@@ -505,11 +649,15 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
margin: 0;
padding: 0;
line-height: 1.1em;
-color: black; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span {
+ color: black;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 span {
margin: 0;
-padding: 0; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a {
+ padding: 0;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 span.http_method a {
text-transform: uppercase;
background-color: #10a54a;
text-decoration: none;
@@ -524,15 +672,28 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-o-border-radius: 2px;
-ms-border-radius: 2px;
-khtml-border-radius: 2px;
-border-radius: 2px; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path {
-padding-left: 10px; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a {
+ border-radius: 2px;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 span.http_method a {
+ background-color: #000;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 span.path {
+ padding-left: 10px;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 span.path a {
color: black;
-text-decoration: none; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a:hover {
-text-decoration: underline; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options {
+ text-decoration: none;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a:hover,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading h3 span.path a:hover {
+ text-decoration: underline;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options {
float: none;
clear: both;
overflow: hidden;
@@ -541,28 +702,52 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
display: block;
clear: none;
float: right;
-margin: 6px 10px 0 0; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
+ margin: 6px 10px 0 0;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li {
float: left;
clear: none;
margin: 0;
padding: 2px 10px;
-border-right: 1px solid #dddddd; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.first {
-padding-left: 0; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last {
+ border-right: 1px solid #dddddd;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.first,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li.first {
+ padding-left: 0;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li.last {
padding-right: 0;
-border-right: none; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li {
+ border-right: none;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li {
border-right-color: #c3e8d1;
color: #10a54a;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li {
+ color: #000;
+ border-right-color: gray;
+}
+
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a {
color: #10a54a;
-text-decoration: none; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a.active {
-text-decoration: underline; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content {
+ text-decoration: none;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li a {
+ color: #000;
+ text-decoration: none;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a.active,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.heading ul.options li a.active {
+ text-decoration: underline;
+}
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.content {
background-color: #ebf7f0;
border: 1px solid black;
border-color: #c3e8d1;
@@ -580,52 +765,53 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-ms-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
-margin: 0 0 20px 0; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 {
+ margin: 0 0 20px 0;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.content {
+ background-color: lightgray;
+ border-color: gray;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.content h4 {
color: #10a54a;
font-size: 1.1em;
margin: 0;
-padding: 15px 0 5px 0px; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content form input[type='text'].error {
- outline: 2px solid black;
-outline-color: #cc0000; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header {
- float: none;
- clear: both;
- overflow: hidden;
-display: block; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header input.submit {
- display: block;
- clear: none;
- float: left;
-padding: 6px 8px; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header img {
- display: block;
- display: block;
- clear: none;
-float: right; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a {
- padding: 4px 0 0 10px;
- color: #6fc992;
- display: inline-block;
-font-size: 0.9em; }
+ padding: 15px 0 5px 0px;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.content h4 {
+ color: #000;
+}
+
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.response div.block {
background-color: #fcf6db;
border: 1px solid black;
-border-color: #e5e0c6; }
-body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.response div.block pre {
+ border-color: #e5e0c6;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.content div.response div.block {
+ background-color: lightgray;
+ border-color: gray;
+}
+
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.response div.block pre,
+body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.any div.content div.response div.block pre {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
padding: 10px;
font-size: 0.9em;
max-height: 400px;
-overflow-y: auto; }
+ overflow-y: auto;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put {
float: none;
clear: both;
overflow: hidden;
display: block;
margin: 0 0 10px 0;
-padding: 0 0 0 0px; }
+ padding: 0 0 0 0px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading {
float: none;
clear: both;
@@ -635,7 +821,8 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
padding: 0;
background-color: #f9f2e9;
border: 1px solid black;
-border-color: #f0e0ca; }
+ border-color: #f0e0ca;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 {
display: block;
clear: none;
@@ -644,10 +831,12 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
margin: 0;
padding: 0;
line-height: 1.1em;
-color: black; }
+ color: black;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span {
margin: 0;
-padding: 0; }
+ padding: 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a {
text-transform: uppercase;
background-color: #c5862b;
@@ -663,14 +852,18 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-o-border-radius: 2px;
-ms-border-radius: 2px;
-khtml-border-radius: 2px;
-border-radius: 2px; }
+ border-radius: 2px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path {
-padding-left: 10px; }
+ padding-left: 10px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path a {
color: black;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path a:hover {
-text-decoration: underline; }
+ text-decoration: underline;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options {
float: none;
clear: both;
@@ -680,27 +873,34 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
display: block;
clear: none;
float: right;
-margin: 6px 10px 0 0; }
+ margin: 6px 10px 0 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
float: left;
clear: none;
margin: 0;
padding: 2px 10px;
-border-right: 1px solid #dddddd; }
+ border-right: 1px solid #dddddd;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.first {
-padding-left: 0; }
+ padding-left: 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last {
padding-right: 0;
-border-right: none; }
+ border-right: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li {
border-right-color: #f0e0ca;
color: #c5862b;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a {
color: #c5862b;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a.active {
-text-decoration: underline; }
+ text-decoration: underline;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content {
background-color: #faf5ee;
border: 1px solid black;
@@ -719,52 +919,62 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-ms-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
-margin: 0 0 20px 0; }
+ margin: 0 0 20px 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 {
color: #c5862b;
font-size: 1.1em;
margin: 0;
-padding: 15px 0 5px 0px; }
+ padding: 15px 0 5px 0px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content form input[type='text'].error {
outline: 2px solid black;
-outline-color: #cc0000; }
+ outline-color: #cc0000;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header {
float: none;
clear: both;
overflow: hidden;
-display: block; }
+ display: block;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header input.submit {
display: block;
clear: none;
float: left;
-padding: 6px 8px; }
+ padding: 6px 8px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header img {
display: block;
display: block;
clear: none;
-float: right; }
+ float: right;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a {
padding: 4px 0 0 10px;
color: #dcb67f;
display: inline-block;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.response div.block {
background-color: #fcf6db;
border: 1px solid black;
-border-color: #e5e0c6; }
+ border-color: #e5e0c6;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.response div.block pre {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
padding: 10px;
font-size: 0.9em;
max-height: 400px;
-overflow-y: auto; }
+ overflow-y: auto;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete {
float: none;
clear: both;
overflow: hidden;
display: block;
margin: 0 0 10px 0;
-padding: 0 0 0 0px; }
+ padding: 0 0 0 0px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading {
float: none;
clear: both;
@@ -774,7 +984,8 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
padding: 0;
background-color: #f5e8e8;
border: 1px solid black;
-border-color: #e8c6c7; }
+ border-color: #e8c6c7;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 {
display: block;
clear: none;
@@ -783,10 +994,12 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
margin: 0;
padding: 0;
line-height: 1.1em;
-color: black; }
+ color: black;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span {
margin: 0;
-padding: 0; }
+ padding: 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a {
text-transform: uppercase;
background-color: #a41e22;
@@ -802,14 +1015,18 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-o-border-radius: 2px;
-ms-border-radius: 2px;
-khtml-border-radius: 2px;
-border-radius: 2px; }
+ border-radius: 2px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path {
-padding-left: 10px; }
+ padding-left: 10px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path a {
color: black;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path a:hover {
-text-decoration: underline; }
+ text-decoration: underline;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options {
float: none;
clear: both;
@@ -819,27 +1036,34 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
display: block;
clear: none;
float: right;
-margin: 6px 10px 0 0; }
+ margin: 6px 10px 0 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
float: left;
clear: none;
margin: 0;
padding: 2px 10px;
-border-right: 1px solid #dddddd; }
+ border-right: 1px solid #dddddd;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.first {
-padding-left: 0; }
+ padding-left: 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last {
padding-right: 0;
-border-right: none; }
+ border-right: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li {
border-right-color: #e8c6c7;
color: #a41e22;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a {
color: #a41e22;
-text-decoration: none; }
+ text-decoration: none;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a.active {
-text-decoration: underline; }
+ text-decoration: underline;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content {
background-color: #f7eded;
border: 1px solid black;
@@ -858,42 +1082,56 @@ body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operatio
-ms-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
-margin: 0 0 20px 0; }
+ margin: 0 0 20px 0;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 {
color: #a41e22;
font-size: 1.1em;
margin: 0;
-padding: 15px 0 5px 0px; }
+ padding: 15px 0 5px 0px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content form input[type='text'].error {
outline: 2px solid black;
-outline-color: #cc0000; }
+ outline-color: #cc0000;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header {
float: none;
clear: both;
overflow: hidden;
-display: block; }
+ display: block;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header input.submit {
display: block;
clear: none;
float: left;
-padding: 6px 8px; }
+ padding: 6px 8px;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header img {
display: block;
display: block;
clear: none;
-float: right; }
+ float: right;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a {
padding: 4px 0 0 10px;
color: #c8787a;
display: inline-block;
-font-size: 0.9em; }
+ font-size: 0.9em;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.response div.block {
background-color: #fcf6db;
border: 1px solid black;
-border-color: #e5e0c6; }
+ border-color: #e5e0c6;
+}
body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.response div.block pre {
font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
padding: 10px;
font-size: 0.9em;
max-height: 400px;
-overflow-y: auto; }
+ overflow-y: auto;
+}
+
+
+.toggler {
+ cursor: pointer;
+}
diff --git a/Resources/views/formatter.html.php b/Resources/views/formatter.html.php
index cb6f2e7..6ec1e1b 100644
--- a/Resources/views/formatter.html.php
+++ b/Resources/views/formatter.html.php
@@ -1,94 +1,86 @@
-
-