cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Swagger/openAPI from an existing REST API in SAP PO

Dimitri
Active Contributor
0 Kudos

Hi,

I expected this to be easy... Seems not the case.

Is there an easy way to generate & swagger (or openAPI) file from an existing REST API in SAP PO?

Thanks a lot.
Dimitri

former_member750859
Discoverer
0 Kudos

Hi Dimitri, had the same question. Still no answers yet.. .

Accepted Solutions (0)

Answers (2)

Answers (2)

Dimitri
Active Contributor
0 Kudos

Hi Nimrod,

Our ABAP team worked something out for inbound service interfaces. I requested them to do the same for outbound service interfaces.

For me, I want a kind of baseline. 80-90% of the openAPI should be generated automatically and I will complete the remaining 20-10% by hand.

Kind regards,
Dimitri

Dimitri
Active Contributor
0 Kudos

Hi Charles,

In the meantime, I figured it out to generate a kind of basic openAPI.

Bottom line is to use the Swagger Inspector (copy/paste the SAP PO URL) --> import into the Swagger Hub or, what I did, use APImatic (https://www.apimatic.io//)

That should do the trick.

Depends on what you want to achieve, but if you want a full blown openAPI (like a WSDL in the early days), there is some manual work to do.

I'm looking for a kind of automated alternative. keep you posted about that one 😉

Kind regards,
Dimitri

former_member187587
Contributor
0 Kudos

Hi Dimitri!

Have you found anything to accompany nicely with PO ?