cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to generate a RAML Document for the OCC API generated JSON Response?

Former Member
0 Likes
374

Hi All,

Thanks in advance.

Could someone please help me in generating a RAML Document out of OCC API Json Response?

Thanks, G Gopinath.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

thanks .

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

I've used

https://apimatic.io/transformer#/convert.

in the past, it worked for me.

Former Member
0 Likes

Hi Markus,

I got few parsing errors when I used this converter.Could you please tell me what could be the reason for it?

Thanks, G Gopinath.

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

I've just tested it with the b2c_acc recipe, hybris 18.08:

  1. Download raw swagger spec as JSON from https://localhost:9002/rest/v2/api-docs

  2. Upload to apimatc

  3. choose RAML 0.8 target description format (also tried RAML 1.0, works too)

  4. convert now

  5. wait a few seconds

  6. Success