-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bitbucket API and Typescript Type Mismatch #128
Comments
The types are auto generated from BitBucket's API Specification:
What problem are you facing, btw? Are you having trouble calling any API? Is TypeScript complaining when you try to call the endpoint method? |
Yeah, those specification are definitely wrong. BitBucket's API specification has way too many incorrect info. Since this whole library is auto-generated from those specification, it's affected by it. It's very hard for me to know which part of the speification is correct and which part is wrong, so it's not possible for me to patch definitions for each endpoint. Unless BitBucket fixes those, I'm afraid I can't be of much help here. |
I understand, thank you for prompt responses, went ahead with direct integration using node-fetch. |
I am fairly new to node and typescript, so it might very well be a developer error :)
Issue am facing is that I am forced to include "type" as a required attribute in my requests which bitbucket api is complaining.
I believe its due to "object" being included as base extension and definition of "object" has "type" as required attribute.
And interface object has type as required attribute
The text was updated successfully, but these errors were encountered: