Skip to content

OpenAPI schema sync (v3.6.0) - #266

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

OpenAPI schema sync (v3.6.0)#266
erayaydin merged 5 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

🟢 Coverage increased by 97.53%

Code Coverage Report

Coverage Report

St. Category Percentage Covered / Total
🟢 Statements 97.53% 3596 / 3687
🟢 Functions 98.49% 1434 / 1456
Files Coverage
St. File Methods Statements Total Coverage

@erayaydin
erayaydin requested a lite review from Copilot August 12, 2026 14:02
@github-actions

Copy link
Copy Markdown
Contributor

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

@fingerprint/php-sdk@7.5.0

Minor Changes

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

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 PHP SDK with the Fingerprint Pro Server API OpenAPI schema release v3.6.0 by introducing an Event.source field backed by a new EventSource enum, and updating generated artifacts, docs, mocks, and tests accordingly.

Changes:

  • Add EventSource backed enum (device, edge) and wire it into Event as the new source field.
  • Update docs, schema YAML, and generator file lists to include the new enum/field.
  • Extend unit/API tests and JSON mocks to cover deserialization and ensure source is present in mocked responses.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/Model/EventTest.php Adds coverage for Event.source deserialization (known/unknown/missing values) and setter behavior.
test/Model/EventSourceTest.php New unit tests for EventSource enum cases, backing values, and serializer deserialization.
test/Model/EnumCoverageTest.php Includes EventSource in the shared enum coverage provider.
test/mocks/events/search/get_event_search_200.json Adds "source": "device" to mocked search response event.
test/mocks/events/get_event_with_bot_info_200.json Adds "source": "device" to mocked event response.
test/mocks/events/get_event_ruleset_200.json Adds "source": "device" to mocked event response.
test/mocks/events/get_event_200.json Adds "source": "device" to mocked event response.
test/mocks/events/get_event_200_with_unknown_field.json Adds "source": "device" to mocked event response.
test/Api/FingerprintApiTest.php Asserts Event.source is deserialized as EventSource::DEVICE in API test helper.
src/Model/EventSource.php Introduces new generated backed enum for event source.
src/Model/Event.php Adds source property metadata plus getSource()/setSource() accessors.
res/fingerprint-server-api.yaml Adds EventSource schema and Event.source property in the OpenAPI spec.
README.md Adds EventSource to the documented model list.
docs/Model/EventSource.md New generated documentation page for the EventSource enum.
docs/Model/Event.md Documents the new optional source field on Event.
.schema-version Bumps synced schema version to v3.6.0.
.openapi-generator/FILES Registers new generated files (EventSource model + docs).
.changeset/add-event-source-field.md Adds a minor changeset describing the new Event.source field.

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

@erayaydin
erayaydin merged commit 5d77cda into main Aug 13, 2026
19 checks passed
@erayaydin
erayaydin deleted the feat/open-api-v3.6.0 branch August 13, 2026 10:14
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