juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [29/33] juneau-website git commit: Update javadocs.
Date Thu, 18 Jan 2018 19:35:05 GMT
http://git-wip-us.apache.org/repos/asf/juneau-website/blob/60d9bd65/content/site/apidocs/org/apache/juneau/dto/swagger/Info.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/org/apache/juneau/dto/swagger/Info.html b/content/site/apidocs/org/apache/juneau/dto/swagger/Info.html
index d8a7f57..96e0012 100644
--- a/content/site/apidocs/org/apache/juneau/dto/swagger/Info.html
+++ b/content/site/apidocs/org/apache/juneau/dto/swagger/Info.html
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-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,"i15":10,"i16":10,"i17":10};
+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,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -113,14 +113,33 @@ var activeTableTab = "activeTableTab";
 <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>="title,description,termsOfService,contact,license,version")
-public class <a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.56">Info</a>
+<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>="title,description,termsOfService,contact,license,version,*")
+public class <a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.66">Info</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">The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented
  in the Swagger-UI for convenience.
  
  <h5 class='section'>Example:</h5>
  <p class='bcode'>
+   <jc>// Construct using SwaggerBuilder.</jc>
+   Info x = <jsm>info</jsm>(<js>"Swagger Sample App"</js>, <js>"1.0.1"</js>)
+      .description(<js>"This is a sample server Petstore server."</js>)
+      .termsOfService(<js>"http://swagger.io/terms/"</js>)
+      .contact(
+         <jsm>contact</jsm>(<js>"API Support"</js>, <js>"http://www.swagger.io/support"</js>, <js>"support@swagger.io"</js>)
+      )
+      .license(
+         <jsm>license</jsm>(<js>"Apache 2.0"</js>, <js>"http://www.apache.org/licenses/LICENSE-2.0.html"</js>)
+      );
+ 
+   <jc>// Serialize using JsonSerializer.</jc>
+   String json = JsonSerializer.<jsf>DEFAULT</jsf>.toString(x);
+ 
+   <jc>// Or just use toString() which does the same as above.</jc>
+   String json = x.toString();
+ </p>
+ <p class='bcode'>
+   <jc>// Output</jc>
    {
       <js>"title"</js>: <js>"Swagger Sample App"</js>,
       <js>"description"</js>: <js>"This is a sample server Petstore server."</js>,
@@ -140,17 +159,7 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
  
  <h6 class='topic'>Additional Information</h6>
  <ul class='doctree'>
-   <li class='link'>
-      <a class='doclink' href='../../../../../overview-summary.html#DTOs'>Juneau Data Transfer Objects
-      (org.apache.juneau.dto)</a>
-      <ul>
-         <li class='sublink'>
-            <a class='doclink' href='../../../../../overview-summary.html#DTOs.Swagger'>Swagger</a>
-      </ul>
-   </li>
-   <li class='jp'>
-      <a class='doclink' href='package-summary.html#TOC'>org.apache.juneau.dto.swagger</a>
-   </li>
+   <li class='link'><a class='doclink' href='../../../../../overview-summary.html#juneau-dto.Swagger'>Overview > juneau-dto > Swagger</a>
  </ul></div>
 </li>
 </ul>
@@ -189,110 +198,124 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 </tr>
 <tr id="i0" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#contact-org.apache.juneau.dto.swagger.Contact-">contact</a></span>(<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;contact)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setContact-org.apache.juneau.dto.swagger.Contact-"><code>setContact(Contact)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#contact-java.lang.Object-">contact</a></span>(<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;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setContact-org.apache.juneau.dto.swagger.Contact-"><code>setContact(Contact)</code></a>.</div>
 </td>
 </tr>
 <tr id="i1" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.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/Info.html#setDescription-java.lang.String-"><code>setDescription(String)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#description-java.lang.Object-">description</a></span>(<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;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setDescription-java.lang.String-"><code>setDescription(String)</code></a>.</div>
 </td>
 </tr>
 <tr id="i2" class="altColor">
+<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#get-java.lang.String-java.lang.Class-">get</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;property,
+   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</code>
+<div class="block">Generic property getter.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#getContact--">getContact</a></span>()</code>
 <div class="block">Bean property getter:  <property>contact</property>.</div>
 </td>
 </tr>
-<tr id="i3" class="rowColor">
+<tr id="i4" class="altColor">
 <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/Info.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="i5" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#getLicense--">getLicense</a></span>()</code>
 <div class="block">Bean property getter:  <property>license</property>.</div>
 </td>
 </tr>
-<tr id="i5" class="rowColor">
+<tr id="i6" class="altColor">
 <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/Info.html#getTermsOfService--">getTermsOfService</a></span>()</code>
 <div class="block">Bean property getter:  <property>termsOfService</property>.</div>
 </td>
 </tr>
-<tr id="i6" class="altColor">
+<tr id="i7" 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/Info.html#getTitle--">getTitle</a></span>()</code>
 <div class="block">Bean property getter:  <property>title</property>.</div>
 </td>
 </tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
 <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/Info.html#getVersion--">getVersion</a></span>()</code>
 <div class="block">Bean property getter:  <property>version</property>.</div>
 </td>
 </tr>
-<tr id="i8" class="altColor">
-<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#license-org.apache.juneau.dto.swagger.License-">license</a></span>(<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;license)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setLicense-org.apache.juneau.dto.swagger.License-"><code>setLicense(License)</code></a>.</div>
-</td>
-</tr>
 <tr id="i9" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setContact-org.apache.juneau.dto.swagger.Contact-">setContact</a></span>(<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;contact)</code>
-<div class="block">Bean property setter:  <property>contact</property>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#license-java.lang.Object-">license</a></span>(<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;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setLicense-org.apache.juneau.dto.swagger.License-"><code>setLicense(License)</code></a>.</div>
 </td>
 </tr>
 <tr id="i10" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.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 class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#set-java.lang.String-java.lang.Object-">set</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;property,
+   <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;value)</code>
+<div class="block">Generic property setter.</div>
 </td>
 </tr>
 <tr id="i11" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setLicense-org.apache.juneau.dto.swagger.License-">setLicense</a></span>(<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;license)</code>
-<div class="block">Bean property setter:  <property>license</property>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setContact-org.apache.juneau.dto.swagger.Contact-">setContact</a></span>(<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;value)</code>
+<div class="block">Bean property setter:  <property>contact</property>.</div>
 </td>
 </tr>
 <tr id="i12" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTermsOfService-java.lang.String-">setTermsOfService</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;termsOfService)</code>
-<div class="block">Bean property setter:  <property>termsOfService</property>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.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;value)</code>
+<div class="block">Bean property setter:  <property>description</property>.</div>
 </td>
 </tr>
 <tr id="i13" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTitle-java.lang.String-">setTitle</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;title)</code>
-<div class="block">Bean property setter:  <property>title</property>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setLicense-org.apache.juneau.dto.swagger.License-">setLicense</a></span>(<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;value)</code>
+<div class="block">Bean property setter:  <property>license</property>.</div>
 </td>
 </tr>
 <tr id="i14" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setVersion-java.lang.String-">setVersion</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;version)</code>
-<div class="block">Bean property setter:  <property>version</property>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTermsOfService-java.lang.String-">setTermsOfService</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;value)</code>
+<div class="block">Bean property setter:  <property>termsOfService</property>.</div>
 </td>
 </tr>
 <tr id="i15" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#termsOfService-java.lang.String-">termsOfService</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;termsOfService)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTermsOfService-java.lang.String-"><code>setTermsOfService(String)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTitle-java.lang.String-">setTitle</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;value)</code>
+<div class="block">Bean property setter:  <property>title</property>.</div>
 </td>
 </tr>
 <tr id="i16" class="altColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#title-java.lang.String-">title</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;title)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTitle-java.lang.String-"><code>setTitle(String)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setVersion-java.lang.String-">setVersion</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;value)</code>
+<div class="block">Bean property setter:  <property>version</property>.</div>
 </td>
 </tr>
 <tr id="i17" class="rowColor">
 <td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#version-java.lang.String-">version</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;version)</code>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setVersion-java.lang.String-"><code>setVersion(String)</code></a>.</div>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#termsOfService-java.lang.Object-">termsOfService</a></span>(<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;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTermsOfService-java.lang.String-"><code>setTermsOfService(String)</code></a>.</div>
+</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#title-java.lang.Object-">title</a></span>(<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;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTitle-java.lang.String-"><code>setTitle(String)</code></a>.</div>
+</td>
+</tr>
+<tr id="i19" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/juneau/dto/swagger/Info.html#version-java.lang.Object-">version</a></span>(<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;value)</code>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setVersion-java.lang.String-"><code>setVersion(String)</code></a>.</div>
 </td>
 </tr>
 </table>
@@ -301,14 +324,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <!--   -->
 </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>
+<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#getExtraProperties--">getExtraProperties</a>, <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#isStrict--">isStrict</a>, <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#strict--">strict</a>, <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#strict-java.lang.Object-">strict</a>, <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#toString--">toString</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;java.lang.<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></h3>
-<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
 </ul>
 </li>
 </ul>
@@ -330,7 +353,7 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockListLast">
 <li class="blockList">
 <h4>Info</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.56">Info</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.66">Info</a>()</pre>
 </li>
 </ul>
 </li>
@@ -347,14 +370,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getTitle</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/Info.html#line.73">getTitle</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/Info.html#line.84">getTitle</a>()</pre>
 <div class="block">Bean property getter:  <property>title</property>.
  
  <p>
- Required.  The title of the application.</div>
+ The title of the application.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>title</property> property on this bean, or <jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -364,30 +387,33 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setTitle</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.86">setTitle</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;title)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.99">setTitle</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;value)</pre>
 <div class="block">Bean property setter:  <property>title</property>.
  
  <p>
- Required.  The title of the application.</div>
+ The title of the application.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>title</code> - The new value for the <property>title</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Property value is required.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="title-java.lang.String-">
+<a name="title-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>title</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.97">title</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;title)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTitle-java.lang.String-"><code>setTitle(String)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.113">title</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTitle-java.lang.String-"><code>setTitle(String)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>title</code> - The new value for the <property>title</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Non-String values will be converted to String using <code>toString()</code>.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -399,14 +425,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <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/Info.html#line.110">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/Info.html#line.125">getDescription</a>()</pre>
 <div class="block">Bean property getter:  <property>description</property>.
  
  <p>
- A short description of the application. GFM syntax can be used for rich text representation.</div>
+ A short description of the application.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>description</property> property on this bean, or <jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -416,30 +442,35 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setDescription</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.123">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/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.141">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;value)</pre>
 <div class="block">Bean property setter:  <property>description</property>.
  
  <p>
- A short description of the application. GFM syntax can be used for rich text representation.</div>
+ A short description of the application.</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>
+<dd><code>value</code> - The new value for this property.
+   <br><a class="doclink" href="https://help.github.com/articles/github-flavored-markdown">GFM syntax</a> can be used for rich text representation.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="description-java.lang.String-">
+<a name="description-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>description</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.134">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/Info.html#setDescription-java.lang.String-"><code>setDescription(String)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.156">description</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.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>
+<dd><code>value</code> - The new value for this property.
+   <br>Non-String values will be converted to String using <code>toString()</code>.
+   <br><a class="doclink" href="https://help.github.com/articles/github-flavored-markdown">GFM syntax</a> can be used for rich text representation.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -451,15 +482,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getTermsOfService</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/Info.html#line.147">getTermsOfService</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/Info.html#line.168">getTermsOfService</a>()</pre>
 <div class="block">Bean property getter:  <property>termsOfService</property>.
  
  <p>
  The Terms of Service for the API.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>termsOfService</property> property on this bean, or <jk>null</jk> if it is not
- set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -469,30 +499,33 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setTermsOfService</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.160">setTermsOfService</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;termsOfService)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.183">setTermsOfService</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;value)</pre>
 <div class="block">Bean property setter:  <property>termsOfService</property>.
  
  <p>
  The Terms of Service for the API.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>termsOfService</code> - The new value for the <property>termsOfService</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="termsOfService-java.lang.String-">
+<a name="termsOfService-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>termsOfService</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.171">termsOfService</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;termsOfService)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTermsOfService-java.lang.String-"><code>setTermsOfService(String)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.197">termsOfService</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setTermsOfService-java.lang.String-"><code>setTermsOfService(String)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>termsOfService</code> - The new value for the <property>termsOfService</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Non-String values will be converted to String using <code>toString()</code>.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -504,14 +537,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getContact</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.183">getContact</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.209">getContact</a>()</pre>
 <div class="block">Bean property getter:  <property>contact</property>.
  
  <p>
  The contact information for the exposed API.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>contact</property> property on this bean, or <jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -521,30 +554,41 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setContact</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.196">setContact</a>(<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;contact)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.224">setContact</a>(<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;value)</pre>
 <div class="block">Bean property setter:  <property>contact</property>.
  
  <p>
  The contact information for the exposed API.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>contact</code> - The new value for the <property>contact</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="contact-org.apache.juneau.dto.swagger.Contact-">
+<a name="contact-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>contact</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.207">contact</a>(<a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger">Contact</a>&nbsp;contact)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setContact-org.apache.juneau.dto.swagger.Contact-"><code>setContact(Contact)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.246">contact</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setContact-org.apache.juneau.dto.swagger.Contact-"><code>setContact(Contact)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>contact</code> - The new value for the <property>contact</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Valid types:
+   <ul>
+      <li><a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger"><code>Contact</code></a>
+      <li><code>String</code> - JSON object representation of <a href="../../../../../org/apache/juneau/dto/swagger/Contact.html" title="class in org.apache.juneau.dto.swagger"><code>Contact</code></a>
+         <h6 class='figure'>Example:</h6>
+         <p class='bcode'>
+   contact(<js>"{name:'name',url:'url',...}"</js>);
+         </p>
+   </ul>
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -556,14 +600,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getLicense</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.219">getLicense</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.258">getLicense</a>()</pre>
 <div class="block">Bean property getter:  <property>license</property>.
  
  <p>
  The license information for the exposed API.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>license</property> property on this bean, or <jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -573,30 +617,41 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setLicense</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.232">setLicense</a>(<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;license)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.273">setLicense</a>(<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;value)</pre>
 <div class="block">Bean property setter:  <property>license</property>.
  
  <p>
  The license information for the exposed API.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>license</code> - The new value for the <property>license</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="license-org.apache.juneau.dto.swagger.License-">
+<a name="license-java.lang.Object-">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>license</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.243">license</a>(<a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger">License</a>&nbsp;license)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setLicense-org.apache.juneau.dto.swagger.License-"><code>setLicense(License)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.295">license</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setLicense-org.apache.juneau.dto.swagger.License-"><code>setLicense(License)</code></a>.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>license</code> - The new value for the <property>license</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Valid types:
+   <ul>
+      <li><a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger"><code>License</code></a>
+      <li><code>String</code> - JSON object representation of <a href="../../../../../org/apache/juneau/dto/swagger/License.html" title="class in org.apache.juneau.dto.swagger"><code>License</code></a>
+         <h6 class='figure'>Example:</h6>
+         <p class='bcode'>
+   license(<js>"{name:'name',url:'url',...}"</js>);
+         </p>
+   </ul>
+   <br>Can be <jk>null</jk> to unset the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
@@ -608,14 +663,14 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>getVersion</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/Info.html#line.255">getVersion</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/Info.html#line.307">getVersion</a>()</pre>
 <div class="block">Bean property getter:  <property>version</property>.
  
  <p>
- Required.  Provides the version of the application API (not to be confused with the specification version).</div>
+ Provides the version of the application API (not to be confused with the specification version).</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>The value of the <property>version</property> property on this bean, or <jk>null</jk> if it is not set.</dd>
+<dd>The property value, or <jk>null</jk> if it is not set.</dd>
 </dl>
 </li>
 </ul>
@@ -625,30 +680,81 @@ extends <a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.htm
 <ul class="blockList">
 <li class="blockList">
 <h4>setVersion</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.268">setVersion</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;version)</pre>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.322">setVersion</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;value)</pre>
 <div class="block">Bean property setter:  <property>version</property>.
  
  <p>
- Required.  Provides the version of the application API (not to be confused with the specification version).</div>
+ Provides the version of the application API (not to be confused with the specification version).</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>version</code> - The new value for the <property>version</property> property on this bean.</dd>
+<dd><code>value</code> - The new value for this property.
+   <br>Property value is required.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>
 </li>
 </ul>
-<a name="version-java.lang.String-">
+<a name="version-java.lang.Object-">
 <!--   -->
 </a>
-<ul class="blockListLast">
+<ul class="blockList">
 <li class="blockList">
 <h4>version</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.279">version</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;version)</pre>
-<div class="block">Synonym for <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setVersion-java.lang.String-"><code>setVersion(String)</code></a>.</div>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.336">version</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>&nbsp;value)</pre>
+<div class="block">Same as <a href="../../../../../org/apache/juneau/dto/swagger/Info.html#setVersion-java.lang.String-"><code>setVersion(String)</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - The new value for this property.
+   <br>Non-String values will be converted to String using <code>toString()</code>.
+   <br>Can be <jk>null</jk> to unset the property.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>This object (for method chaining).</dd>
+</dl>
+</li>
+</ul>
+<a name="get-java.lang.String-java.lang.Class-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>get</h4>
+<pre>public&nbsp;&lt;T&gt;&nbsp;T&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.341">get</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;property,
+                 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#get-java.lang.String-java.lang.Class-">SwaggerElement</a></code></span></div>
+<div class="block">Generic property getter.
+ 
+ <p>
+ Can be used to retrieve non-standard Swagger fields such as <js>"$ref"</js>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#get-java.lang.String-java.lang.Class-">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html" title="class in org.apache.juneau.dto.swagger">SwaggerElement</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>property</code> - The property name to retrieve.</dd>
+<dd><code>type</code> - The datatype to cast the value to.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The property value, or <jk>null</jk> if the property does not exist or is not set.</dd>
+</dl>
+</li>
+</ul>
+<a name="set-java.lang.String-java.lang.Object-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>set</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/juneau/dto/swagger/Info.html" title="class in org.apache.juneau.dto.swagger">Info</a>&nbsp;<a href="../../../../../src-html/org/apache/juneau/dto/swagger/Info.html#line.356">set</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;property,
+                <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;value)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#set-java.lang.String-java.lang.Object-">SwaggerElement</a></code></span></div>
+<div class="block">Generic property setter.
+ 
+ <p>
+ Can be used to set non-standard Swagger fields such as <js>"$ref"</js>.</div>
 <dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html#set-java.lang.String-java.lang.Object-">set</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/juneau/dto/swagger/SwaggerElement.html" title="class in org.apache.juneau.dto.swagger">SwaggerElement</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>version</code> - The new value for the <property>version</property> property on this bean.</dd>
+<dd><code>property</code> - The property name to set.</dd>
+<dd><code>value</code> - The new value for the property.</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>This object (for method chaining).</dd>
 </dl>


Mime
View raw message