Content-Length: 253749 | pFad | http://github.com/oapi-codegen/oapi-codegen/pull/1994

7E create directories if they do not exist before writing output file by kf-pineapple · Pull Request #1994 · oapi-codegen/oapi-codegen · GitHub
Skip to content

create directories if they do not exist before writing output file #1994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kf-pineapple
Copy link

@kf-pineapple kf-pineapple commented May 24, 2025

#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 kf-pineapple requested a review from a team as a code owner May 24, 2025 14:33
@jamietanna jamietanna added this to the v2.5.0 milestone May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/oapi-codegen/oapi-codegen/pull/1994

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy