Importing Swagger Files
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:
![*](bullet.gif)
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.
![*](bullet.gif)
A REST endpoint URI object that refers to the REST API.
![*](bullet.gif)
A REST Resource object that refers to the REST API.
![*](bullet.gif)
A REST Method object that refers to the REST API.
![*](bullet.gif)
A REST Parameter object that is referred to by the one of the above objects.
![*](bullet.gif)
A REST Request Content-Type object that is referred to by the REST API or REST Method object.
![*](bullet.gif)
A REST Response Content-Type object that is referred to by the REST API or REST Method object.
![*](bullet.gif)
A REST Status Code object that is referred to by the Response Content-Type object.