Skip to content

OpenAPI schema sync (v3.6.0) - #216

Merged
erayaydin merged 6 commits into
mainfrom
feat/open-api-v3.6.0
Aug 13, 2026
Merged

OpenAPI schema sync (v3.6.0)#216
erayaydin merged 6 commits into
mainfrom
feat/open-api-v3.6.0

Conversation

@fingerprint-dx-team-actions-runner

Copy link
Copy Markdown
Contributor

Schema sync for v3.6.0 OpenAPI schema release.

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
3264 2339 72% 0% 🟢

New Files

File Coverage Status
fingerprint_server_sdk/models/event_source.py 90% 🟢
TOTAL 90% 🟢

Modified Files

File Coverage Status
fingerprint_server_sdk/init.py 100% 🟢
fingerprint_server_sdk/models/init.py 100% 🟢
fingerprint_server_sdk/models/event.py 73% 🟢
TOTAL 91% 🟢

updated for commit: 93d06d3 by action🐍

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Syncs the Python SDK with the Fingerprint Pro Server API OpenAPI schema release v3.6.0 by introducing the new Event.source field and its corresponding EventSource enum, and updating generated artifacts, docs, and tests/mocks accordingly.

Changes:

  • Add EventSource enum model (device, edge) and expose it via SDK exports/docs.
  • Add optional source field to the Event model and wire it into (de)serialization.
  • Update test fixtures and add/extend tests to cover known/unknown source handling.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/test_unknown_enum_values.py Adds coverage for Event.source handling, including unknown enum value preservation.
test/mocks/events/search/get_event_search_200.json Adds source to mock event search response payload.
test/mocks/events/get_event_with_bot_info_200.json Adds source to mock event payload.
test/mocks/events/get_event_ruleset_200.json Adds source to mock event payload.
test/mocks/events/get_event_200.json Adds source to core event fixture used by multiple tests.
test/mocks/events/get_event_200_with_unknown_field.json Adds source to event fixture that includes unknown fields.
res/fingerprint-server-api.yaml Adds EventSource schema and references it from Event.source.
README.pypi.md Adds EventSource to published model documentation list.
README.md Adds EventSource to repository model documentation list.
fingerprint_server_sdk/models/event.py Introduces optional source: EventSource and includes it in properties/from_dict mapping.
fingerprint_server_sdk/models/event_source.py New enum model for event generation source with unknown-value tolerance.
fingerprint_server_sdk/models/init.py Exports EventSource from the models package.
fingerprint_server_sdk/init.py Exports EventSource at the top-level package API.
docs/EventSource.md New generated model documentation for EventSource.
docs/Event.md Documents the new optional source field on Event.
.schema-version Bumps tracked schema version to v3.6.0.
.openapi-generator/FILES Registers newly generated EventSource artifacts.
.changeset/add-event-source-field.md Records a minor release note for adding Event.source.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/test_unknown_enum_values.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

@fingerprint/python-sdk@9.6.0

Minor Changes

  • Add source field to Event to identify how the event was generated (device or edge) (df05d7e)

@erayaydin
erayaydin merged commit f000222 into main Aug 13, 2026
23 checks passed
@erayaydin
erayaydin deleted the feat/open-api-v3.6.0 branch August 13, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants