Package | Description |
---|---|
org.wildfly.swarm.swagger |
Modifier and Type | Method and Description |
---|---|
SwaggerArchive |
SwaggerArchive.setContact(String info)
Sets the contact information for the application
|
SwaggerArchive |
SwaggerArchive.setContextRoot(String root)
Sets the context root, or base path for the API calls.
|
SwaggerArchive |
SwaggerArchive.setDescription(String description)
Sets the description for the application being exposed by swagger.json
|
SwaggerArchive |
SwaggerArchive.setHost(String host)
Sets the addressable host name and port for the API URLs.
|
SwaggerArchive |
SwaggerArchive.setLicense(String license)
Sets the license of the application.
|
SwaggerArchive |
SwaggerArchive.setLicenseUrl(String licenseUrl)
Sets the license URL for this application
|
SwaggerArchive |
SwaggerArchive.setPrettyPrint(boolean prettyPrint)
Sets whether the swagger.json will be pretty printed.
|
SwaggerArchive |
SwaggerArchive.setResourcePackages(String... packages) |
SwaggerArchive |
SwaggerArchive.setSchemes(String... schemes)
Sets the schemes for the for the API URLs (http, https)
|
SwaggerArchive |
SwaggerArchive.setTermsOfServiceUrl(String url)
Sets the url to be displayed for the application's term's of service
|
SwaggerArchive |
SwaggerArchive.setTitle(String title)
Sets the title of the application being exposed by swagger.json
|
SwaggerArchive |
SwaggerArchive.setVersion(String version)
Sets the version of the API being exposed for this application
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.