Skip to main content
Level 2
January 29, 2021
Solved

Using swagger to generate json/YAML file during aem project build

Hi All,

I am new to AEM development so I don't have much idea on AEM.

I am doing a POC to check whether can we generate JSON file using swagger during maven build or any alternative.

We have a rest API service provided by my client to perform crud operations so we plan to do POC whether we can use swagger to generate JSON/YAML automatically during AEM project build or any alternative to it. (using swagger).

I have checked various sources in the internet but i came to a dead end all the time so if you could can you please guide me on this.

a use case or a URL where I can see the basics of it would be a great help

this is for AEM forms

regards,

Bhavya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
GirishBedekarAccepted solution
Level 8
January 29, 2021

If you have the REST api you. An define the api using the swagger editor that  can be found online

AEM forms supports swagger 2.0

 

5 replies

GirishBedekarAccepted solution
Level 8
January 29, 2021

If you have the REST api you. An define the api using the swagger editor that  can be found online

AEM forms supports swagger 2.0

 

Translate
Level 2
January 29, 2021
hi Girish thank you for your reply you mean i create a open API spec then convert to json or yaml and use this in form data model?
Translate
Level 8
January 29, 2021
Level 2
January 29, 2021
Hi Girish Thank you for your reply
Translate