Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.57 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.57 KB

KMD Platform OpenAPI Spring Archetypes

public kmdp-archetype build status:

Build Status Download

Getting Started

The service and implementation archetype projects generate KMD Platform (KMDP) services based on Swagger APIs.

Build (Maven)

Running mvn clean install from this directory will build both the service and implementation archetypes

Profiles

SubModules

KMDP OpenAPI Spring Service Archetype

An archetype that generates the following component from a Swagger API:

  • A server client
  • The service interfaces
  • A base pom for implementations to extend
  • A server framework for launching a SpringBoot REST server

KMDP OpenAPI Spring Implementation Archetype

A companion to the service-archetype, this archetype generates the framework for implementing one of the above generated services

KMDP API Facade Generator

We use Swagger-codegen to create the Java client/server interfaces, where those interfaces expose the ReST nature of the client/server interaction, the 'facade' project creates one more layer of indirection

Documentation