0

I am trying to implement my rest services using jersy and documentation using swagger. Once model is generated using code gen and added logic in my service implementation class. Now if I want to regenerate model, is there any parameter to pass to code-gen to ignore/skip service implementation class or list of classes which are configured to ignore. Because not to loose logic implemented in service class.

Please suggest me good practices of swagger.

kaya3
  • 47,440
  • 4
  • 68
  • 97
Ajit Kalyan
  • 49
  • 1
  • 8

1 Answers1

0

I'm new to swagger too, but the code-gen docs on github explain that you can put a .swagger-codegen-ignore file in the root of your output folder to specify the files or directories that you don't wan't to overwrite.