Commit 065c49c
fix(management_api): fix organization connections empty properties via spec
Add local OpenAPI spec and fix get_connections_response so connections
array decodes correctly. API returns connection objects directly; spec
had items as connection (wrapper). Use connection_connection schema for
get_connections_response.connections items and connection.connection.
- Add spec/kinde-management-api-spec.yaml (from api-spec.kinde.com)
- Add connection_connection schema; get_connections_response.connections
items and connection.connection reference it
- Update generate.go to use local spec
- Regenerate management_api (ogen) so GetConnectionsResponse.Connections
is []ConnectionConnection; no manual oas_* patches
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent dd62a2a commit 065c49c
16 files changed
Lines changed: 13187 additions & 287 deletions
File tree
- kinde/management_api
- spec
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments