Skip to content

OpenAPI contract: TopicTrendsResponse renames topics→trends and drops from/to #188

Description

@Harol-Reina

Surfaced during openapi-numeric-schema-truth (Web #222). The generated OpenAPI schema for the topic-trends response diverges from the Web consumer's hand-written shape:

  • generated renames the array field topics → trends
  • generated drops the from / to range fields

Web keeps TopicTrendsResponse hand-written because a swap would break the hook's public shape. Reconcile the Platform DTO/serialization so the emitted schema matches the intended wire contract, then Web can adopt the generated type.

Ref: Web use-analytics.ts, spec openapi-generated-types.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions