Note: | If you want to create a REST API descriptor from a Swagger document, see Creating a REST API Descriptor from a Swagger Document. |
In this field... | Specify... | ||
Title | A title for the application represented by the REST API descriptor. | ||
Description | A description of the application represented by the REST API descriptor. | ||
Application Version | A version number for the application. The default is 1.0.
| ||
Host:Port Name | The host and port for the Integration Server on which the application resides in the format: host:port By default, the REST API descriptor uses the primary host:port of the Integration Server to which Designer is connected. | ||
Path | The base path for the REST API descriptor. The default is either /rest or /restv2 depending on the type of REST resources included in the descriptor. The path must begin with a “/” (slash). The default value for Path is the REST directive used on the Integration Server to which Designer is connected. For REST resources using the legacy approach, Integration Server obtains this value from the watt.server.RESTDirective server configuration parameter. For REST resources using the URL template-based approach, Integration Server obtains this value from the watt.server.RESTDirective.V2 server configuration parameter.
| ||
Consumes | Select the MIME types that operations in the REST API descriptor can consume. The MIME types you select here apply to all the operations in the REST API descriptor. However, you can override the MIME types on a per operation basis. For more information, see Changing the MIME Types for an Operation
in a REST Resource. If you do not see the MIME type you want to use listed, you can update the list of available MIME types. For more information, see Changing the Available MIME Types for a REST
API Descriptor. | ||
Produces | Select the MIME types that operations in the REST API descriptor can produce. The MIME types you select here apply to all the operations in the REST API descriptor. However, you can override the MIME types on a per operation basis. For more information, see Changing the MIME Types for an Operation
in a REST Resource. If you do not see the MIME type you want to use listed, you can update the list of available MIME types. For more information, see Changing the Available MIME Types for a REST
API Descriptor. |