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

Avatar

Avatar

bhavya1724

Avatar

bhavya1724

bhavya1724

28-01-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

GirishBedekar

Avatar

GirishBedekar

GirishBedekar

28-01-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

 

Answers (1)

Answers (1)

Avatar

Avatar

GirishBedekar

Avatar

GirishBedekar

GirishBedekar

28-01-2021