juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [27/36] incubator-juneau-website git commit: Add Swagger examples.
Date Fri, 17 Feb 2017 02:14:05 GMT
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/4903c5d1/content/site/apidocs/org/apache/juneau/dto/swagger/ResponseInfo.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/dto/swagger/ResponseInfo.html b/content/site/apidocs/org/apache/juneau/dto/swagger/ResponseInfo.html
index 7c91c13..3749d2e 100644
--- a/content/site/apidocs/org/apache/juneau/dto/swagger/ResponseInfo.html
+++ b/content/site/apidocs/org/apache/juneau/dto/swagger/ResponseInfo.html
@@ -18,8 +18,8 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
-var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete
Methods"]};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
 var tableTab = "tableTab";
@@ -99,18 +99,23 @@ var activeTableTab = "activeTableTab";
 <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">java.lang.Object</a></li>
 <li>
 <ul class="inheritance">
+<li><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html" title="class
in org.apache.juneau.dto.swagger">org.apache.juneau.dto.swagger.SwaggerElement</a></li>
+<li>
+<ul class="inheritance">
 <li>org.apache.juneau.dto.swagger.ResponseInfo</li>
 </ul>
 </li>
 </ul>
+</li>
+</ul>
 <div class="description">
 <ul class="blockList">
 <li class="blockList">
 <hr>
 <br>
 <pre><a href="../../../../../org/apache/juneau/annotation/Bean.html" title="annotation
in org.apache.juneau.annotation">@Bean</a>(<a href="../../../../../org/apache/juneau/annotation/Bean.html#properties--">properties</a>="description,schema,headers,examples")
-public class <a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.36">ResponseInfo</a>
-extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a></pre>
+public class <a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.37">ResponseInfo</a>
+extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html" title="class
in org.apache.juneau.dto.swagger">SwaggerElement</a></pre>
 <div class="block">Describes a single response from an API Operation.
 
  <h5 class='section'>Example:</h5>
@@ -155,7 +160,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </a>
 <h3>Method Summary</h3>
 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method
Summary table, listing methods, and an explanation">
-<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span
class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a
href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span
id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a
href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a
href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span
id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span
class="tabEnd">&nbsp;</span></span></caption>
 <tr>
 <th class="colFirst" scope="col">Modifier and Type</th>
 <th class="colLast" scope="col">Method and Description</th>
@@ -175,54 +180,80 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </td>
 </tr>
 <tr id="i2" class="altColor">
-<td class="colFirst"><code>static <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#create-java.lang.String-">create</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</code>
-<div class="block">Convenience method for creating a new Response object.</div>
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#description-java.lang.String-">description</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</code>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setDescription-java.lang.String-"><code>setDescription(String)</code></a>.</div>
 </td>
 </tr>
 <tr id="i3" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#example-java.lang.String-java.lang.Object-">example</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;mimeType,
+       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&nbsp;example)</code>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#addExample-java.lang.String-java.lang.Object-"><code>addExample(String,Object)</code></a>.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#examples-java.util.Map-">examples</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;examples)</code>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setExamples-java.util.Map-"><code>setExamples(Map)</code></a>.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#getDescription--">getDescription</a></span>()</code>
 <div class="block">Bean property getter:  <property>description</property>.</div>
 </td>
 </tr>
-<tr id="i4" class="altColor">
+<tr id="i6" class="altColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#getExamples--">getExamples</a></span>()</code>
 <div class="block">Bean property getter:  <property>examples</property>.</div>
 </td>
 </tr>
-<tr id="i5" class="rowColor">
+<tr id="i7" class="rowColor">
 <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&gt;</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#getHeaders--">getHeaders</a></span>()</code>
 <div class="block">Bean property getter:  <property>headers</property>.</div>
 </td>
 </tr>
-<tr id="i6" class="altColor">
+<tr id="i8" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/SchemaInfo.html"
title="class in org.apache.juneau.dto.swagger">SchemaInfo</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#getSchema--">getSchema</a></span>()</code>
 <div class="block">Bean property getter:  <property>schema</property>.</div>
 </td>
 </tr>
-<tr id="i7" class="rowColor">
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#header-java.lang.String-org.apache.juneau.dto.swagger.HeaderInfo-">header</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;name,
+      <a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html" title="class
in org.apache.juneau.dto.swagger">HeaderInfo</a>&nbsp;header)</code>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#addHeader-java.lang.String-org.apache.juneau.dto.swagger.HeaderInfo-"><code>addHeader(String,HeaderInfo)</code></a>.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#schema-org.apache.juneau.dto.swagger.SchemaInfo-">schema</a></span>(<a
href="../../../../../org/apache/juneau/dto/swagger/SchemaInfo.html" title="class in org.apache.juneau.dto.swagger">SchemaInfo</a>&nbsp;schema)</code>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setSchema-org.apache.juneau.dto.swagger.SchemaInfo-"><code>setSchema(SchemaInfo)</code></a>.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setDescription-java.lang.String-">setDescription</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</code>
 <div class="block">Bean property setter:  <property>description</property>.</div>
 </td>
 </tr>
-<tr id="i8" class="altColor">
+<tr id="i12" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setExamples-java.util.Map-">setExamples</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;examples)</code>
 <div class="block">Bean property setter:  <property>examples</property>.</div>
 </td>
 </tr>
-<tr id="i9" class="rowColor">
+<tr id="i13" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setHeaders-java.util.Map-">setHeaders</a></span>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&gt;&nbsp;headers)</code>
 <div class="block">Bean property setter:  <property>headers</property>.</div>
 </td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i14" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setSchema-org.apache.juneau.dto.swagger.SchemaInfo-">setSchema</a></span>(<a
href="../../../../../org/apache/juneau/dto/swagger/SchemaInfo.html" title="class in org.apache.juneau.dto.swagger">SchemaInfo</a>&nbsp;schema)</code>
 <div class="block">Bean property setter:  <property>schema</property>.</div>
@@ -230,6 +261,13 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </tr>
 </table>
 <ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.juneau.dto.swagger.SwaggerElement">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.juneau.dto.swagger.<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html"
title="class in org.apache.juneau.dto.swagger">SwaggerElement</a></h3>
+<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#isStrict--">isStrict</a>,
<a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#strict--">strict</a></code></li>
+</ul>
+<ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
 <!--   -->
 </a>
@@ -256,7 +294,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockListLast">
 <li class="blockList">
 <h4>ResponseInfo</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.36">ResponseInfo</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.37">ResponseInfo</a>()</pre>
 </li>
 </ul>
 </li>
@@ -267,30 +305,13 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <!--   -->
 </a>
 <h3>Method Detail</h3>
-<a name="create-java.lang.String-">
-<!--   -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.50">create</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</pre>
-<div class="block">Convenience method for creating a new Response object.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>description</code> - A short description of the response.
-   <a class="doclink" href="https://help.github.com/articles/github-flavored-markdown">GFM
syntax</a> can be used for rich text representation.</dd>
-<dt><span class="returnLabel">Returns:</span></dt>
-<dd>A new Header object.</dd>
-</dl>
-</li>
-</ul>
 <a name="getDescription--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getDescription</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.62">getDescription</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.52">getDescription</a>()</pre>
 <div class="block">Bean property getter:  <property>description</property>.
  <p>
  Required. A short description of the response.
@@ -307,7 +328,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>setDescription</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.75">setDescription</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.65">setDescription</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</pre>
 <div class="block">Bean property setter:  <property>description</property>.
  <p>
  Required. A short description of the response.
@@ -320,6 +341,22 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
+<a name="description-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>description</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.76">description</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;description)</pre>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setDescription-java.lang.String-"><code>setDescription(String)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>description</code> - The new value for the <property>description</property>
property on this bean.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 <a name="getSchema--">
 <!--   -->
 </a>
@@ -362,13 +399,29 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
+<a name="schema-org.apache.juneau.dto.swagger.SchemaInfo-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>schema</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.118">schema</a>(<a
href="../../../../../org/apache/juneau/dto/swagger/SchemaInfo.html" title="class in org.apache.juneau.dto.swagger">SchemaInfo</a>&nbsp;schema)</pre>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setSchema-org.apache.juneau.dto.swagger.SchemaInfo-"><code>setSchema(SchemaInfo)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>schema</code> - The new value for the <property>schema</property>
property on this bean.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 <a name="getHeaders--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getHeaders</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&gt;&nbsp;<a
href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.119">getHeaders</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&gt;&nbsp;<a
href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.129">getHeaders</a>()</pre>
 <div class="block">Bean property getter:  <property>headers</property>.
  <p>
  A list of headers that are sent with the response.</div>
@@ -384,7 +437,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>setHeaders</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.131">setHeaders</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&gt;&nbsp;headers)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.141">setHeaders</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&gt;&nbsp;headers)</pre>
 <div class="block">Bean property setter:  <property>headers</property>.
  <p>
  A list of headers that are sent with the response.</div>
@@ -402,7 +455,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>addHeader</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.145">addHeader</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.155">addHeader</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;name,
                               <a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&nbsp;header)</pre>
 <div class="block">Bean property adder:  <property>headers</property>.
  <p>
@@ -416,13 +469,31 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
+<a name="header-java.lang.String-org.apache.juneau.dto.swagger.HeaderInfo-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>header</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.169">header</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;name,
+                           <a href="../../../../../org/apache/juneau/dto/swagger/HeaderInfo.html"
title="class in org.apache.juneau.dto.swagger">HeaderInfo</a>&nbsp;header)</pre>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#addHeader-java.lang.String-org.apache.juneau.dto.swagger.HeaderInfo-"><code>addHeader(String,HeaderInfo)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>name</code> - The header name.</dd>
+<dd><code>header</code> - The header descriptions</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 <a name="getExamples--">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getExamples</h4>
-<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.160">getExamples</a>()</pre>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true"
title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.181">getExamples</a>()</pre>
 <div class="block">Bean property getter:  <property>examples</property>.
  <p>
  An example of the response message.
@@ -439,7 +510,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <ul class="blockList">
 <li class="blockList">
 <h4>setExamples</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.173">setExamples</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;examples)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.194">setExamples</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;examples)</pre>
 <div class="block">Bean property setter:  <property>examples</property>.
  <p>
  An example of the response message.
@@ -455,10 +526,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 <a name="addExample-java.lang.String-java.lang.Object-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>addExample</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.187">addExample</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;mimeType,
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.208">addExample</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;mimeType,
                                <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&nbsp;example)</pre>
 <div class="block">Bean property adder:  <property>examples</property>.
  <p>
@@ -472,6 +543,40 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
 </dl>
 </li>
 </ul>
+<a name="example-java.lang.String-java.lang.Object-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>example</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.222">example</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;mimeType,
+                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&nbsp;example)</pre>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#addExample-java.lang.String-java.lang.Object-"><code>addExample(String,Object)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>mimeType</code> - The mimeType of the example.</dd>
+<dd><code>example</code> - The example output.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="examples-java.util.Map-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>examples</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html"
title="class in org.apache.juneau.dto.swagger">ResponseInfo</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/ResponseInfo.html#line.232">examples</a>(<a
href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class
or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a>&gt;&nbsp;examples)</pre>
+<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/ResponseInfo.html#setExamples-java.util.Map-"><code>setExamples(Map)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>examples</code> - The new value for the <property>examples</property>
property on this bean.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
 </li>
 </ul>
 </li>


Mime
View raw message