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

feat: new and updated payload examples with resulting schema changes #813

Merged
merged 15 commits into from
Jun 29, 2023

Conversation

wolfy1339
Copy link
Member

@wolfy1339 wolfy1339 commented Jun 29, 2023

Resolves #812


Behavior

Before the change?

  • The schemas were not up to date with real world payloads

After the change?

  • Updates the schemas to be up to date with real world payloads

Other information

  • Information derived from the OpenAPI spec, and from the example payloads

Additional info

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Added the appropriate label for the given change

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes (Please add the Type: Breaking change label)
  • No

If Yes, what's the impact:

  • N/A

Pull request type

Please add the corresponding label for change this PR introduces:

  • Feature/model/API additions: Type: Feature

@wolfy1339 wolfy1339 added the Type: Feature New feature or request label Jun 29, 2023
@wolfy1339 wolfy1339 linked an issue Jun 29, 2023 that may be closed by this pull request
1 task
Copy link
Member

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you go about doing this? How come it wasn't caught by the update script?

@wolfy1339
Copy link
Member Author

The update script is broken because of the switch in the GitHub docs to the OpenAPI spec, and because the examples have been removed.

@wolfy1339
Copy link
Member Author

I have a webhooks endpoint running on my server that compares incoming webhooks to the schema defined in this repo.

It was originally implemented by @G-Rath, as a serverless function to run on Azure, and I modified it to run on express.

https://github.com/G-Rath/compare-gh-webhook-to-schema-function

@wolfy1339 wolfy1339 merged commit 9f7f7f3 into main Jun 29, 2023
@wolfy1339 wolfy1339 deleted the update-payloads branch June 29, 2023 17:29
@octokitbot
Copy link
Collaborator

🎉 This PR is included in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@G-Rath
Copy link
Member

G-Rath commented Jun 29, 2023

@wolfy1339 fwiw I don't mind migrating the original app to Express/Koa if you like - the serverless function has been shutdown anyway, and it'd give me something to do 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Feature New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: registry_package is missing installation object
4 participants