Skip to content

feat(api): add Chronos OpenAPI spec and regenerate API client - #68

Merged
merenyimiklos merged 2 commits into
mainfrom
fix/update-openapi-substitution-models
Nov 18, 2026
Merged

merenyimiklos merged 2 commits into
mainfrom
fix/update-openapi-substitution-models

Conversation

@merenyimiklos

Copy link
Copy Markdown
Contributor
  • Add chronos-openapi.json OpenAPI specification for the Chronos backend.
  • Regenerate API client models, service interfaces, and generated test files.
  • Update ApiClient default base URL, JSON serialization options, and sessionAuth query parameter handling.

## Summary

<!-- What does this PR do, and why? Link the issue it closes, if any. -->

Closes #

## Changes

<!-- Bullet list of user-visible and internal changes. -->

-

## Verification

- [ ] `gradle :composeApp:compileDebugKotlinAndroid`
- [ ] `gradle :composeApp:testDebugUnitTest`
- [ ] `gradle :composeApp:lintDebug`
- [ ] Screenshots or a screen recording — if the UI changed (Android and/or iOS)

feat(api): add Chronos OpenAPI spec and regenerate API client

* Add `chronos-openapi.json` OpenAPI specification for the Chronos backend.
* Regenerate API client models, service interfaces, and generated test files.
* Update `ApiClient` default base URL, JSON serialization options, and `sessionAuth` query parameter handling.
```
build(api): disable OpenAPI test generation and fix model serialization

* Disable OpenAPI model and API test generation (`generateModelTests`, `generateApiTests`) in `build.gradle.kts` and remove auto-generated test files.
* Fix duplicate `@Serializable` annotations across OpenAPI model data classes.
* Replace `Any?` types with `JsonElement?` in API response models to ensure proper Kotlinx serialization handling.
* Remove unused `serializationLibrary` configuration from `build.gradle.kts`.
```
@merenyimiklos
merenyimiklos merged commit 9bb113e into main Nov 18, 2026
9 checks passed
@merenyimiklos
merenyimiklos deleted the fix/update-openapi-substitution-models branch November 18, 2026 22:00
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