Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Latest commit

History

History
20 lines (17 loc) · 944 Bytes

File metadata and controls

20 lines (17 loc) · 944 Bytes

OpenAPI-Client-Generator

A very basic OpenAPI Client Generator

Warning

This generator was built to work with specific specification files and does not aim to fully cover the OpenAPI specification.

Usage (Java Target)

java -jar JAR_FILE java <specFile>

Additional Parameters

ParameterDescriptionDefault
--out [folder]Specify Output FolderCurrent Directory
--package [package]Specify Client Packagecom.example
--api-name [name]The base name for classes to usetitle from API Info (spacing removed)
-sOnly output java sources (without maven structure)false
--group-id [groupId]Maven Group IdPackage Name (see --package)
--artifact-id [artifactId]Maven Artifact IdAPI Name (see --api-name)
--version [version]Maven Artifact Versionversion from API Info (1.0 if not present)
--snippet [file]A snippet that will be added to the client (multiple allowed)None