Plugin: Swagger

From iDempiere en
  • Maintainer: spok
  • Status: Beta, up to date with release 6.2
  • License: GPLv2
  • Price: Free
  • Sources: [1]


∫ created

Integration created

Idempiere Swagger

This is simple Swagger implementation (version 3.22.2) for Idempiere OSGI platform.

This Swagger application was created to work together with Idempiere WebStore API

https://github.com/icreated/webstore-api

It points to following openapi.xml:

http://localhost:8080/services/api-docs/openapi.xml

Installing / Getting started To build this plugin you need to get sources in your project directory:

git clone https://github.com/icreated/webstore-api.git

Important! Edit pom.xml to link native Idempiere libraries with parent project. If you put sources directly in Idempiere sources folder, it will be

<relativePath>../org.idempiere.parent/pom.xml</relativePath> otherwise modify it.

If used with others API plugins, modify path in pom.xml:

<openapi-value>http://localhost:8080/services/api-docs/openapi.xml</openapi-value>

Build it with Maven:

mvn install

Deploy plugin to Idempiere OSGI and navigate to Swagger URL:

http://localhost:8080/swagger/app/

Enjoy it! I hope it will help you!

Cookies help us deliver our services. By using our services, you agree to our use of cookies.