Skip to content

OpenAPI Generator #37

Chris Pastl requested to merge openapi-generator-37 into main

Added command make api which executes 3 subcommands for generating, merging and cleaning api files. Each command can be called separately as well:

  • make api.gen generate files according to ./schemas/openapi-engine.yaml and save output in ./swagger_codegen_out
  • make api.merge run git merge-file on all files in controllers, models and tests
  • make api.clean remove auto-generated directory ./swagger_codegen_out

@david Not sure if there’s a better merging approach - should we keep it?

Merge request reports