oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

create directories if they do not exist before writing output file

Open kf-pineapple opened this issue 9 months ago • 0 comments

#1052

If the parent directory of the output file doesn't exist, it will be automatically created before writing the generated code. This prevents errors if the specified output path contains a non-existent directory.

kf-pineapple avatar May 24 '25 14:05 kf-pineapple