Nav

Visual Design

Design Center includes visual editing capabilities for RAML API design. If you know a little about REST APIs, you can specify methods and responses visually. RAML expertise isn’t required. Design Center lowers the barrier to API specification languages.

To define a restful endpoint using a GUI instead of writing RAML code, you populate a GUI with values for resources, including resource types, relationships, and HTTP methods. The GUI then generates the RAML specification. The editor prompts you to describe endpoints and formats the specifications with proper indenting. You can then publish to Exchange and test the design. The resulting RAML output file begins the API life cycle and API design collaboration.

From visual design mode, you can move the API specification to the full-featured code view to enhance the design.

Supported RAML Components

The following RAML components are supported:

  • Root properties

  • Data types (payloads)

  • Resources and methods

    • Headers

    • Query parameters and query strings

    • Request body

    • HTTP and HTTPS protocols

    • Responses and status codes, including associated headers and body