Skip to content
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

[feature request] regenerate notifications schemas #964

Open
michael-land opened this issue Sep 15, 2023 · 3 comments
Open

[feature request] regenerate notifications schemas #964

michael-land opened this issue Sep 15, 2023 · 3 comments

Comments

@michael-land
Copy link

michael-land commented Sep 15, 2023

B2bAnyOfferChangedNotification schema is missing

B2bAnyOfferChangedNotification.json

@tusbar
Copy link
Member

tusbar commented Sep 17, 2023

Hi @michael-land

As it is often the case, the source file is broken, so the type does not generate.

https://github.com/amzn/selling-partner-api-models/blob/806b438ed95dde14ad832119cabce81a2570a3da/schemas/notifications/B2bAnyOfferChangedNotification.json#L148

This should be #/definitions/moneyType.

I’ve opened a PR – amzn/selling-partner-api-models#332, but it’s unlikely that it’ll get any attention.

@michael-land
Copy link
Author

are you ok with patches to correct those errors while waiting for the schema to be updated?

@tusbar
Copy link
Member

tusbar commented Sep 20, 2024

This doesn’t fix the issue as the source schema is still broken… but I’m now generating and exposing all the JSON schemas from the source repo to @sp-api-sdk/schemas.

#1316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants