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:

  1. On docs.oracle.com, open the REST API document at REST API for Documents.

  2. On the left, click the download symbol:


    download
  3. Click the Swagger button:


    swagger download button

    The text from the Swagger file for the REST API is displayed.


    swagger text
  4. From the Edit menu, choose Select All, and then choose Copy.

  5. Paste the copied text into a text file.