Title: No way to validate webhook requests · Issue #445 · python-openapi/openapi-core · GitHub
Open Graph Title: No way to validate webhook requests · Issue #445 · python-openapi/openapi-core
X Title: No way to validate webhook requests · Issue #445 · python-openapi/openapi-core
Description: When validating requests, the library finds the schema to validate with by looking at the request url. This doesn't work for webhooks however, since these don't have the url they are going to in the spec. It would be nice if you could pa...
Open Graph Description: When validating requests, the library finds the schema to validate with by looking at the request url. This doesn't work for webhooks however, since these don't have the url they are going to in th...
X Description: When validating requests, the library finds the schema to validate with by looking at the request url. This doesn't work for webhooks however, since these don't have the url they are going ...
Opengraph URL: https://github.com/python-openapi/openapi-core/issues/445
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No way to validate webhook requests","articleBody":"When validating requests, the library finds the schema to validate with by looking at the request url. This doesn't work for webhooks however, since these don't have the url they are going to in the spec. It would be nice if you could pass a path to the spec validator to override whatever it infers from the request, that way you could provide the location of the webhook spec.","author":{"url":"https://github.com/SethThoburn","@type":"Person","name":"SethThoburn"},"datePublished":"2022-12-13T01:12:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/445/openapi-core/issues/445"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b63b325f-1e46-d8e5-0508-16602f66da18 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF32:11BAEC:16846DE:1F29016:69777C44 |
| html-safe-nonce | a13c6f1e02d1daee4bd034208720746f159e3994ec0716e47e516625f861de13 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjMyOjExQkFFQzoxNjg0NkRFOjFGMjkwMTY6Njk3NzdDNDQiLCJ2aXNpdG9yX2lkIjoiMzMxMTMyNTUwMzg2MzM1NjQ4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 398552fcc7770228d74a72dda0661b2723409c318fdca31fa4fa063b550eae48 |
| hovercard-subject-tag | issue:1493120718 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-openapi/openapi-core/445/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5e2cbe228595674b0da0a7f97ca2ad602256e5e98c6345afcaaa6a2e7e6334c/python-openapi/openapi-core/issues/445 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5e2cbe228595674b0da0a7f97ca2ad602256e5e98c6345afcaaa6a2e7e6334c/python-openapi/openapi-core/issues/445 |
| og:image:alt | When validating requests, the library finds the schema to validate with by looking at the request url. This doesn't work for webhooks however, since these don't have the url they are going to in th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SethThoburn |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openapi/openapi-core git https://github.com/python-openapi/openapi-core.git |
| octolytics-dimension-user_id | 126442889 |
| octolytics-dimension-user_login | python-openapi |
| octolytics-dimension-repository_id | 104200746 |
| octolytics-dimension-repository_nwo | python-openapi/openapi-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 104200746 |
| octolytics-dimension-repository_network_root_nwo | python-openapi/openapi-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 37dddf0637fe1f68f5c5d619bd3e03ec27105339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width