Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.15 KB

File metadata and controls

39 lines (25 loc) · 1.15 KB

JODConverter - Sample - Rest API

This is a sample application of a rest api that uses the spring boot integration module of the Java OpenDocument Converter (JODConverter) project to offer document conversion capabilities. The goal was to emulate a LibreOffice Online server that would support the customization of custom (known) load/store properties.

Hint: The exposed REST-API interface imitates the LibreOffice-Online REST interface (/lool), you could think of this example as an LibreOffice-Online server. This being a LibreOffice-Online server, you can talk to the REST api using jodconverter-remote (LO online client). (-c parameter)

Update

See here for an improved version, meaning production ready, of this project!

Running the Project using gradle

First, build the project:

gradlew :samples:spring-boot-rest:build

Then, run:

gradlew :samples:spring-boot-rest:bootRun

Once started, use your favorite browser and visit this page:

http://localhost:8080/swagger-ui.html

You can also ge the openapi specs from

http://localhost:8080/rest/api

Happy conversions!!