Generate Open API document based on a version

Generate the OpenAPI document for a version or for the default version.

Generate for a specific version

To generate the OpenAPI documentation for a specific version of operations, add the "&version=version_name" query string to the URI:

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

Generate the default version

If you have set a default version in the information record, there is no need to specify the version in the query string in the URI. For example, with http://myhost:6394/gas/ws/r/myGroup/myXcf/myService?openapi.json the GWS generates documentation for the version of operations set as default.

Important:

Setting a default version is optional but if not specified, and you do not request a version in the query string of the URI to generate the OpenAPI documentation, the client will get a 404 (Not found) error response and internally the server will throw error 41.