You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using the tool to design a new API (love it so far!).
I had the need to change my property names from snake_case to camelCase to be consistent with another project. Since renaming is "Not yet implemented", I created a new property (e.g., fileType), then copied the description, whether Required, and Type from the existing file_type property. I then deleted the file_type property.
However, file_type when I download the YAML, the deleted property name is still present (along with the new property name):
Thanks for the bug report, @mmindenhall - glad you like Apicurio so far! I actually just discovered this bug myself last week. I'm going to leave this issue open, but you may want to also follow the following issue for progress updates (if interested):
EricWittmann
changed the title
Required properties deleted from Data Types still referenced in downloaded YAML
Editor: Required properties deleted from Data Types still referenced in downloaded YAML
Oct 29, 2018
The commands for deleting a single property and deleting all schema properties have both been updated to also update the list of required properties appropriately.
I have been using the tool to design a new API (love it so far!).
I had the need to change my property names from snake_case to camelCase to be consistent with another project. Since renaming is "Not yet implemented", I created a new property (e.g.,
fileType
), then copied the description, whether Required, and Type from the existingfile_type
property. I then deleted thefile_type
property.However,
file_type
when I download the YAML, the deleted property name is still present (along with the new property name):The old name is only referenced within the
required
list (it was correctly removed from theproperties
list).The text was updated successfully, but these errors were encountered: