oapi-codegen
oapi-codegen copied to clipboard
create directories if they do not exist before writing output file
#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.