-
Notifications
You must be signed in to change notification settings - Fork 31
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
Generate a better API file name when saving as JSON/YAML #26
Comments
I don’t think it’s a bad idea, but I also don’t think it should be high on the priority list. |
@chirino Fair enough - do you have a preference between the two approaches?
|
Don’t really have a preference. |
|
I think using the API title (sanitized) as the default filename makes the most sense here @EricWittmann @chirino |
Keep in mind that we name the document open-api.json in all the camel projects by convention. Keeping to the existing default makes it easier to work with camel projects. |
|
Ggrzybek alignment2
From @mmajerni : "Regarding Saving as JSON/YAML, it will be great to have an opportunity to change an API file name. Now, all saved API's have name openapi-spec.json/yaml. "
I think the best option is to generate a filename from the API title. Another option is to prompt the user for a filename.
@chirino do you have an opinion on this?
The text was updated successfully, but these errors were encountered: