Skip to content

feat: migrate to Kiota client and self-made openapi spec#2

Merged
Agash merged 8 commits intomainfrom
feat/spec-correction
Feb 25, 2026
Merged

feat: migrate to Kiota client and self-made openapi spec#2
Agash merged 8 commits intomainfrom
feat/spec-correction

Conversation

@Agash
Copy link
Owner

@Agash Agash commented Feb 25, 2026

  • hand-written openapi spec in openapi/goaffpro-canonical.yaml since the openapi definitions on the official page show significatn spec drift and are thus unreliable.
  • replaced generator with Kiota-based client generation from openapi/goaffpro-canonical.yaml now that it's a well defined spec.
  • refactored wrapper/event surface to emit generated feed models directly
  • added observer support for more feeds (orders, traffic, payouts, products, transactions; rewards remains obsolete/unstable)
  • retargeted projects to net9.0 and net10.0 (removed .NET8, will remove .NET9 as support ends this year).
  • upgraded example app into an interactive playground
  • annotated known unstable/parity endpoints directly in yaml spec

checks

  • dotnet build GoAffPro.Client.slnx --configuration Release --no-restore
  • dotnet test GoAffPro.Client.slnx --configuration Release --no-build --filter "Category!=Integration"
  • dotnet test tests/GoAffPro.Client.IntegrationTests/GoAffPro.Client.IntegrationTests.csproj --filter "Category=Integration"
  • dotnet build src/GoAffPro.Client.Generated/GoAffPro.Client.Generated.csproj -v minimal (Kiota regeneration check)

Notes

  • known api issues remain (documented in spec comments):
    • /user/feed/products (timeouts, tried 30s and 90s multiple times, might be related to my empty account)
    • /user/feed/rewards (404/non-JSON)
    • /user/feed/transactions (500/non-JSON )
    • /user/payouts/pending tracked as parity endpoint also seen under /sdk/user/* not in official api spec visible

@Agash Agash merged commit 2a7c951 into main Feb 25, 2026
2 checks passed
@Agash Agash deleted the feat/spec-correction branch February 25, 2026 09:37
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.

1 participant