org.wildfly.swarm.swagger.webapp

## Class SwaggerWebAppFraction

- java.lang.Object
- - org.wildfly.swarm.swagger.webapp.SwaggerWebAppFraction

- All Implemented Interfaces:
    Fraction<SwaggerWebAppFraction>

      public class SwaggerWebAppFraction
      extends Object
      implements Fraction<SwaggerWebAppFraction>

  Author:
    Lance Ball

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SwaggerWebAppFraction()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SwaggerWebAppFraction` | `addWebContent(String content)` Allows customization of the swagger-ui web interface.
    `String` | `getContext()`
    `<any>` | `getWebContent()`
    `void` | `setContext(String context)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.wildfly.swarm.spi.api.Fraction

      `applyDefaults, applyDefaults`

- - ### Constructor Detail

    - #### SwaggerWebAppFraction

          public SwaggerWebAppFraction()

  - ### Method Detail

    - #### getContext

          public String getContext()

    - #### setContext

          public void setContext(String context)

    - #### addWebContent

          public SwaggerWebAppFraction addWebContent(String content)

      Allows customization of the swagger-ui web interface. The String provided can be one of either: - Path to a directory on disk - Path to a jar/war/zip file on disk - A GAV string with maven coordinates
      Parameters:
        `content` - The location of the web resources (see above)
      Returns:
        this

    - #### getWebContent

          public <any> getWebContent()

Copyright © 2017 JBoss by Red Hat. All rights reserved.