Download the Swagger File for a REST API
Download a REST API Swagger file for use in your development project.
The Swagger file for each REST API is part of the published REST API document. You can download it from the left navigation tree.
For example, to download and copy the Swagger file for the REST API for Documents:
-
On
docs.oracle.com
, open the REST API document at REST API for Documents. -
On the left, click the download symbol:
-
Click the Swagger button:
The text from the Swagger file for the REST API is displayed.
-
From the Edit menu, choose Select All, and then choose Copy.
-
Paste the copied text into a text file.