Skip to content

Commit

Permalink
Fix schema, regen docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lavalamp committed Jun 19, 2014
1 parent e031c19 commit f666131
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/doc/service-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"labels": {
"type": "object",
"required": false
}
},
"selector": {
"type": "object",
"required": false
Expand Down
30 changes: 27 additions & 3 deletions api/kubernetes.html
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,9 @@ <h3>Body</h3>
"<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
<span class="hljs-string">"selector"</span>: {
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
</span>},
{
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example2"</span></span>,
Expand All @@ -1578,6 +1581,10 @@ <h3>Body</h3>
"<span class="hljs-attribute">env</span>": <span class="hljs-value"><span class="hljs-string">"prod"</span></span>,
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"jetty"</span>
</span>}
<span class="hljs-string">"selector"</span>: {
"<span class="hljs-attribute">env</span>": <span class="hljs-value"><span class="hljs-string">"prod"</span></span>,
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"jetty"</span>
</span>}
</span>}
]
</span>}
Expand Down Expand Up @@ -1663,6 +1670,10 @@ <h3>Body</h3>
"<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
"<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
"<span class="hljs-attribute">required</span>": <span class="hljs-value"><span class="hljs-literal">false</span>
</span>}</span>,
"<span class="hljs-attribute">selector</span>": <span class="hljs-value">{
"<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
"<span class="hljs-attribute">required</span>": <span class="hljs-value"><span class="hljs-literal">false</span>
</span>}
</span>}
</span>}
Expand All @@ -1671,11 +1682,14 @@ <h3>Body</h3>

<strong>Example:</strong>
<pre>{
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example2"</span></span>,
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example"</span></span>,
"<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8000</span></span>,
"<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
<span class="hljs-string">"selector"</span>: {
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
</span>}
</pre>

Expand Down Expand Up @@ -1791,11 +1805,14 @@ <h3>Body</h3>

<strong>Example:</strong>
<pre>{
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example2"</span></span>,
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example"</span></span>,
"<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8000</span></span>,
"<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
<span class="hljs-string">"selector"</span>: {
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
</span>}
</pre>

Expand Down Expand Up @@ -1886,6 +1903,10 @@ <h3>Body</h3>
"<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
"<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
"<span class="hljs-attribute">required</span>": <span class="hljs-value"><span class="hljs-literal">false</span>
</span>}</span>,
"<span class="hljs-attribute">selector</span>": <span class="hljs-value">{
"<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
"<span class="hljs-attribute">required</span>": <span class="hljs-value"><span class="hljs-literal">false</span>
</span>}
</span>}
</span>}
Expand All @@ -1894,11 +1915,14 @@ <h3>Body</h3>

<strong>Example:</strong>
<pre>{
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example2"</span></span>,
"<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"example"</span></span>,
"<span class="hljs-attribute">port</span>": <span class="hljs-value"><span class="hljs-number">8000</span></span>,
"<span class="hljs-attribute">labels</span>": <span class="hljs-value">{
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
<span class="hljs-string">"selector"</span>: {
"<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"nginx"</span>
</span>}
</span>}
</pre>

Expand Down

0 comments on commit f666131

Please sign in to comment.