Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

bhavya1724
Level 1
Level 1

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

1 Accepted Solution
GirishBedekar
Correct answer by
Level 9
Level 9

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

 

View solution in original post

5 Replies
GirishBedekar
Correct answer by
Level 9
Level 9

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

 

View solution in original post

bhavya1724
Level 1
Level 1
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?