Skip to content

iOS: adopt camelCase + CodingKeys for RealAPI request-body structs #331

Description

@andrewkatson

Follow-up from PR #327 review (requested by @eBlender): the request-body structs in ios/Positive Only Social/Positive Only Social/api/RealAPI.swift use snake_case property names to match the backend JSON (e.g. remember_me, username_or_email, verification_token). Per iOS naming conventions they should use camelCase properties with CodingKeys (or a keyEncodingStrategy) mapping back to the backend's snake_case wire format.

This should be done for all request-body structs in the file in one pass — renaming only some of them would leave the file internally inconsistent (as Copilot noted on the PR).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions