René's URL Explorer Experiment


Title: Automate PR creation when OpenAPI spec is updated · Issue #618 · apify/apify-client-python · GitHub

Open Graph Title: Automate PR creation when OpenAPI spec is updated · Issue #618 · apify/apify-client-python

X Title: Automate PR creation when OpenAPI spec is updated · Issue #618 · apify/apify-client-python

Description: Context As part of the effort to introduce fully typed & generated API clients (apify/apify-core#25186), the Python client will generate Pydantic models and type annotations from the OpenAPI specification (see #481). Once the generation ...

Open Graph Description: Context As part of the effort to introduce fully typed & generated API clients (apify/apify-core#25186), the Python client will generate Pydantic models and type annotations from the OpenAPI specif...

X Description: Context As part of the effort to introduce fully typed & generated API clients (apify/apify-core#25186), the Python client will generate Pydantic models and type annotations from the OpenAPI sp...

Opengraph URL: https://github.com/apify/apify-client-python/issues/618

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Automate PR creation when OpenAPI spec is updated","articleBody":"### Context\n\nAs part of the effort to introduce fully typed & generated API clients ([apify/apify-core#25186](https://github.com/apify/apify-core/issues/25186)), the Python client will generate Pydantic models and type annotations from the [OpenAPI specification](https://docs.apify.com/api/openapi.json) (see #481).\n\nOnce the generation pipeline is in place, we need a mechanism to keep the generated code in sync with the OpenAPI spec automatically, so that changes to the API are promptly reflected in the client without manual intervention.\n\n### Goal\n\nSet up a CI/CD automation (e.g. GitHub Actions workflow) that:\n\n1. **Detects changes** to the OpenAPI specification (e.g. via a scheduled check, a webhook/dispatch from `apify-docs`, or by polling `https://docs.apify.com/api/openapi.json`).\n2. **Re-runs the code generation** pipeline to produce updated models/types.\n3. **Opens a PR** automatically in `apify-client-python` with the regenerated code, so it can be reviewed and merged.\n\n### Considerations\n\n- The trigger mechanism needs to be decided — options include:\n  - A **`repository_dispatch`** event sent from the `apify-docs` repo (or wherever the OpenAPI spec is maintained) whenever the spec changes.\n  - A **scheduled workflow** (e.g. daily cron) that fetches the latest spec, compares it against the currently used version, and opens a PR if there are differences.\n  - A **webhook** from the API deployment pipeline.\n- The PR should include a clear diff of generated changes and ideally reference which OpenAPI spec version/commit triggered the update.\n- Consider running linting, type checking, and tests as part of the PR to catch breaking changes early.\n- Similar automation should likely be set up for `apify-client-js` as well ([apify/apify-client-js#823](https://github.com/apify/apify-client-js/issues/823)).\n\n### Related\n\n- Parent epic: [apify/apify-core#25186](https://github.com/apify/apify-core/issues/25186)\n- Typed Python client: #481\n- OpenAPI sync mechanism: [apify/apify-core#22169](https://github.com/apify/apify-core/issues/22169)","author":{"url":"https://github.com/vdusek","@type":"Person","name":"vdusek"},"datePublished":"2026-02-17T05:22:37Z","url":"https://github.com/apify/apify-client-python/issues/618"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:db865e5d-1301-a8fd-facf-8c02e357f2c5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id96E8:B5253:23FE1C4:2FDB3CD:6B0058E4
html-safe-nonce7cd7541782dfc286b3506e4179c335a609df3df531036119385e7aefe1fbff2b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkU4OkI1MjUzOjIzRkUxQzQ6MkZEQjNDRDo2QjAwNThFNCIsInZpc2l0b3JfaWQiOiI0OTc0NDg2ODc2OTkyODU0MjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac06e7ff0162a14c9affd73744d357fc5d9068923a7c20eb885b02111679b29d73
hovercard-subject-tagissue:3950865393
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apify/apify-client-python/618/issue_layout
twitter:imagehttps://opengraph.githubassets.com/39140879cc67395af248a45ae3fa364b035f56e1ca7eadf7b477ec0d73198c9d/apify/apify-client-python/issues/618
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39140879cc67395af248a45ae3fa364b035f56e1ca7eadf7b477ec0d73198c9d/apify/apify-client-python/issues/618
og:image:altContext As part of the effort to introduce fully typed & generated API clients (apify/apify-core#25186), the Python client will generate Pydantic models and type annotations from the OpenAPI specif...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-preview
go-importgithub.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id164647835
octolytics-dimension-repository_nwoapify/apify-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id164647835
octolytics-dimension-repository_network_root_nwoapify/apify-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/apify/apify-client-python/issues/618#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fissues%2F618
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fissues%2F618
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apify%2Fapify-client-python
Reloadhttps://github.com/apify/apify-client-python/issues/618
Reloadhttps://github.com/apify/apify-client-python/issues/618
Reloadhttps://github.com/apify/apify-client-python/issues/618
apifyhttps://github.com/apify
apify-client-pythonhttps://github.com/apify/apify-client-python
Codehttps://github.com/apify/apify-client-python
Issues12 (12)https://github.com/apify/apify-client-python/issues
Pull requests2 (2)https://github.com/apify/apify-client-python/pulls
Discussionshttps://github.com/apify/apify-client-python/discussions
Actionshttps://github.com/apify/apify-client-python/actions
Security and qualityhttps://github.com/apify/apify-client-python/security
Insightshttps://github.com/apify/apify-client-python/insights
https://github.com/apify/apify-client-python
New issuehttps://github.com/login?return_to=https://github.com/apify/apify-client-python/issues/618
New issuehttps://github.com/login?return_to=https://github.com/apify/apify-client-python/issues/618
#694https://github.com/apify/apify-client-python/pull/694
apify/apify-docs#2381https://github.com/apify/apify-docs/pull/2381
Automate PR creation when OpenAPI spec is updatedhttps://github.com/apify/apify-client-python/issues/618#top
#694https://github.com/apify/apify-client-python/pull/694
apify/apify-docs#2381https://github.com/apify/apify-docs/pull/2381
https://github.com/vdusek
enhancementNew feature or request.https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
t-toolingIssues with this label are in the ownership of the tooling team.https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3A%22t-tooling%22
3.0https://github.com/apify/apify-client-python/milestone/560
https://github.com/vdusek
vdusekhttps://github.com/vdusek
on Feb 17, 2026https://github.com/apify/apify-client-python/issues/618#issue-3950865393
apify/apify-core#25186https://github.com/apify/apify-core/issues/25186
OpenAPI specificationhttps://docs.apify.com/api/openapi.json
#481https://github.com/apify/apify-client-python/issues/481
apify/apify-client-js#823https://github.com/apify/apify-client-js/issues/823
apify/apify-core#25186https://github.com/apify/apify-core/issues/25186
Introduce fully typed Python API client #481https://github.com/apify/apify-client-python/issues/481
apify/apify-core#22169https://github.com/apify/apify-core/issues/22169
vdusekhttps://github.com/vdusek
enhancementNew feature or request.https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
t-toolingIssues with this label are in the ownership of the tooling team.https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3A%22t-tooling%22
on Feb 17, 2026https://github.com/apify/apify-client-python/issues/618#event-22842509391
vdusekhttps://github.com/vdusek
on Feb 17, 2026https://github.com/apify/apify-client-python/issues/618#event-22842519521
vdusekhttps://github.com/vdusek
3.0https://github.com/apify/apify-client-python/milestone/560
on Feb 20, 2026https://github.com/apify/apify-client-python/issues/618#event-22940637158
vdusekhttps://github.com/vdusek
completedhttps://github.com/apify/apify-client-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
apify-docs#2381https://github.com/apify/apify-docs/pull/2381
on Apr 7, 2026https://github.com/apify/apify-client-python/issues/618#event-24251677260
vdusekhttps://github.com/vdusek
on Apr 7, 2026https://github.com/apify/apify-client-python/issues/618#event-24251849549
ci: add workflow to regenerate models from OpenAPI spec (#694)https://github.com/apify/apify-client-python/commit/7c0391dd09255aa2d54597e4de9e4d29c2281be6
#694https://github.com/apify/apify-client-python/pull/694
7c0391dhttps://github.com/apify/apify-client-python/commit/7c0391dd09255aa2d54597e4de9e4d29c2281be6
daveomrihttps://github.com/daveomri
on Apr 7, 2026https://github.com/apify/apify-client-python/issues/618#event-24253588850
ci: trigger Python client model regeneration on OpenAPI spec changes (a…https://github.com/daveomri/apify-docs/commit/ba138ffdf17b2a3584a4094057b3ff68991cbab6
a…https://github.com/apify/apify-docs/pull/2381
ba138ffhttps://github.com/daveomri/apify-docs/commit/ba138ffdf17b2a3584a4094057b3ff68991cbab6
Sign up for freehttps://github.com/signup?return_to=https://github.com/apify/apify-client-python/issues/618
Sign in to commenthttps://github.com/login?return_to=https://github.com/apify/apify-client-python/issues/618
vdusekhttps://github.com/vdusek
enhancementNew feature or request.https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
t-toolingIssues with this label are in the ownership of the tooling team.https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3A%22t-tooling%22
3.0https://github.com/apify/apify-client-python/milestone/560
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.