Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

🚧 Work in progress 🚧

Notifications You must be signed in to change notification settings

hrantzsch/openapi-jsonformoderncpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Running the Code Generation

If maven is installed on your system, simply ./run.sh should work. It will install the dependencies for building the code generator, download a jar file for the openapi-generator-cli tool, and run the generator.

In Docker

docker run --rm -i -t -v ${PWD}:/workspace -w /workspace maven:3-jdk-8 ./run.sh

Code Formatting

The code generator can run a code formatter as a post processing step for each file. This requires two things:

  • exporting the command you want to run as CPP_POST_PROCESS_FILE
  • calling the generator with --enable-post-process-file

See run.sh for an example.

About

🚧 Work in progress 🚧

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published