Swagger/OAI Support for Services

Hi,

Are there any plans for adding Swagger/OAI support for Enonic XP Services ?
I do a lot developing with REST APIs and use Swagger/OAI to describe and test these services. Are there any plans to add this as a feature or making a cook book how to use it with Enonic XP

2 Likes

Hi.

We have experimented with swagger in XP and actually have had some basic support for it since 6.0. But, then next step here is to bridge it towards our services to auto-document it using swagger.

Will discuss this further to see if we could write up some sort of specification on how this could work.

2 Likes

You can use the mappings definition added in 6.6 (i belive) to add rest endpoints to a site.