Valid values for the ifExists query parameter #5454
-
In the API documentation is says that the query parameter ifExists can have the values:
This is not the case when running the docker image though (apicurio/apicurio-registry:3.0.3), the only one of the above that works is FAIL. If I use one of the others, I get this:
Looking in the code, it seems the values that actually work are FAIL, CREATE_VERSION and FIND_OR_CREATE_VERSION. Is the API documentation wrong or am doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are correct. The text description in the API documentation is old. Those values have been updated, and the description of that endpoint was not updated to reflect that. I will get that fixed up. Thanks for letting me know. |
Beta Was this translation helpful? Give feedback.
You are correct. The text description in the API documentation is old. Those values have been updated, and the description of that endpoint was not updated to reflect that. I will get that fixed up. Thanks for letting me know.