-
Notifications
You must be signed in to change notification settings - Fork 123
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
Mark deprecated features in the spec #63
Comments
@yusuf-musleh Thanks for reaching out. The As for the address it's because it's a hash that can be nulled out. To unset all properties in a hash in our API you pass an empty string so you can send Does this help clarify the issues? |
Hi @remi-stripe , that makes sense, thanks for getting back to me and clarifying the issues. Quick followup, since I am going through the spec programmatically, do you have any suggestions for me to be able to tell which fields or even some endpoints are present for legacy purposes but in reality are deprecated or should not used? Here are a few things I noticed for example:
It would be really helpful if there was a way for me to tell which endpoints/fields to ignore as I go through the spec. |
Unfortunately we don't really have a good way to represent deprecated features at the moment. It's something we want to improve in the future but it won't happen in the short term just yet. |
Hey There!
I have a few questions about the OpenAPI spec:
Create Charge
endpoint (POST /v1/charges
) in the spec had an extra parameter defined in the request body calledcard
that I could not find in the latest docs.I was wondering how in-sync the OpenAPI spec is with API docs and the actual released API in general. Is that a new field that will be added in a later version, or just a typo and shouldn't be there?
anyOf
and lists between the properties of the object or an emptyenum
, like the following fromPOST /v1/customers
:Does that imply that the
address
object is an optional parameter, as it's mentioned in the docs, and that's just hows its represented in the OpenAPI spec?I'd appreciate it if someone can help shed some light on my questions.
Thanks!
The text was updated successfully, but these errors were encountered: