OpenAPI documentation for REST-based services
- Last Updated: August 11, 2026
- 3 minute read
- OpenEdge
- Version 12.8
- Documentation
|
|
OpenAPI JSON output
The following is sample JSON output:
|
The output contains the OpenAPI format along with other standard properties defined by the OpenAPI standard. This includes supporting information such as the HTTP verb expected to access those services, schema information (when applicable), and a list of input and output parameters defined for each service. For parameters, only the expected external (HTTP) datatype is described, as the OpenAPI is a generic descriptor format and is server-language agnostic.
The servers array provides multiple URL options for accessing the REST
services:
- A fully resolved URL pointing directly to the REST transport, for use by programmatic consumers that require an explicit base URL without variable substitution. The hostname in this URL is derived from the incoming request. If the client accesses the OpenAPI output using localhost, the URL reflects localhost. If the client uses an IP address (such as 127.0.0.1) or a fully-qualified domain name, that value is reflected instead.
- A relative-path entry using the webapp context variable.
- A parameterized entry with scheme, host, port, and context variables for flexible client configuration.
Each operation and its parameters include a description field with summary text describing the purpose and expected usage.
View output graphically in Swagger UI
Swagger UI can parse the JSON output in OpenAPI format, allowing you to view and interact with your REST services. A pre-packaged Swagger UI viewer is included with Progress Application Server (PAS) for OpenEdge and does not require external downloads or Content Delivery Network (CDN) access. To access it, follow these steps:
- Deploy swaggerui.war to your PAS for OpenEdge instance by running
the following command from a PROENV session:
tcman deploy DLC/servers/pasoe/extras/swaggerui.war - Restart the PAS for OpenEdge instance after deployment:
tcman oeserver -restart - Once deployed, access the viewer at:
http://host:port/swaggerui/
By default, the viewer reads the OpenAPI output from the ROOT web application at ../server/rest/services/openapi. To view a different web application, enter its relative path in the URL field at the top of the page (for example, ../mywebapp/server/rest/services/openapi) and click Explore.
The following figure shows what the OpenAPI documentation looks like in Swagger UI for REST-based services:
DataObjectHandler
services on the WEB transport, see ABL application catalog service.