CentraSite Documentation : Working with REST-based APIs : Importing a RESTful API to CentraSite : Importing Swagger Files
Importing Swagger Files
 
Importing a REST API Using Swagger File
Swagger to CentraSite REST API Mappings
The CentraSite importer for Swagger copies a Swagger file to the repository, and creates a REST Service asset that best describes the RESTful API representing the Swagger specification.
The registry objects are as follows:
*A REST Service asset (REST API) with Swagger specification. This Swagger 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 object that is referred to by the REST API or REST Method object.
*A REST Response Content-Type 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-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback