[Geoserver-devel] [JIRA] (GEOS-9994) New community module: gs-rest-openapi-java-client

Gabriel Roldan created an issue

GeoServer / TaskGEOS-9994

New community module: gs-rest-openapi-java-client

Issue Type:

TaskTask

Assignee:

Gabriel Roldan

Created:

23/Mar/21 11:20 PM

Priority:

MediumMedium

Reporter:

Gabriel Roldan

A GeoServer REST API Java client library based on openapi-generator-maven-plugin generated code.

Includes OpenAPI 3 definition files for GeoServer’s REST API v1.

As a difference with the legacy Swagger 2 definitions, these ones focus only in inter-process
communication using JSON for request/response encoding.

This API is developed using the Swagger 2 files as base, but carefully inspecting GeoServer’s REST config server implementation, often debugging it, in order to comply with the actual API as much as possible.

The generated code produces two libraries:

  • gs-rest-openapi-generated-model, for Catalog and Config object models
  • gs-rest-openapi-generated-feign-client, for OpenFeign based java client

Finally, the gs-rest-openapi-java-client project contains the client library built as a wrapper over the generated feign client, to simplify its usage.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100156-sha1:fdbe273)

Atlassian logo