CentraSite Documentation : Working with REST-based APIs : Importing a RESTful API to CentraSite : Importing RAML Files
Importing RAML Files
 
Importing a REST API Using RAML File
RAML to CentraSite REST API Mappings
The CentraSite importer for RAML copies a RAML file to the repository, and creates a REST Service asset that best describes the RESTful API representing the RAML specification.
The registry objects are as follows:
*A REST Service asset (REST API) with RAML specification. This RAML specification is stored as a file attribute in the Documents field of the Specification profile.
*A REST endpoint URI object that refers to the REST API.
*A REST Resource object that refers to the REST API.
*A REST Method object that refers to the REST API.
*A REST Parameter object that is referred to by the one of the above objects.
*A REST Request Content-Type (REST Payload) object that is referred to by the REST API or REST Method object.
*A REST Response Content-Type (REST Payload) object that is referred to by the REST API or REST Method object.
*A REST Status Code object that is referred to by the Response Content-Type object.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback