Get the OpenAPI description for a specific version

Retrieve the OpenAPI description for a specific version of a RESTful web service.

If the service defines multiple versions, you can request the OpenAPI description for a specific version of the operations. The service must have a WSVersion definition for versioned operations.

Retrieve the OpenAPI description for a specific version.

Append the query parameter &version=version_name to the service URL to retrieve the description for that version.

The following example requests the OpenAPI description for version v3:

http://myServer:myPort/gas/ws/r/myXcf/myService?openapi.json&version=v3

For details about how OpenAPI documents describe versions, go to Understanding the OpenAPI description of a Genero RESTful service and How GWS maps BDL types into the OpenAPI description.