Converting Scripted Rest API to Open APi specification

Kirtiman
Tera Contributor

Hi,

Is there any native converter functionality available within ServiceNow to convert a Scripted Rest API with application/json content type to Open API specification?

Any tools suggestion will help as well. If someone have done it in past please suggest the steps to achieve the same.

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

What is Open API?

Currently nothing present by default in ServiceNow for conversion

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

In left Nav search for OpenApi under Integration Hub

Stefan Reichelt
Tera Guru
Tera Guru

There is an OOB feature:

Open your API in REST API Explorer (you can also find a direct related link named "Explore REST API" on the API definition form), and select either of both options:

Valen_0-1686058542407.png

It's not as detailed as it could be (trying to find out myself how to maintain additional information for export in Servicenow), but it's definitely something to start with.

We are having this issue also.  The current export does not provide the full detail needed to cover a scripted Rest API from SNOW.