API versioning in Liferay Headless

Issue

  • Does Liferay Headless framework support API versioning?

Environment

  • DXP 7.3

Resolution

  • Liferay Headless framework does support API versioning. With the combination of this GitHub link and http://localhost:8080/o/api, we can understand more clearly that there are two versions of the rest-openapi.yaml from the GitHub link, they have the same function as the Commerce Admin Pricing API but different versions. Meanwhile, we can also access Liferay API Explorer by http://localhost:8080/o/api to check these two APIs (need to activate Commerce first). 

 

Was this article helpful?
0 out of 0 found this helpful