Skip to content

Declare the error contract #42

Description

@ExtraToast

What to build

auth-api's published contract starts telling the truth about its failure modes, and its clients are republished with both the error schemas and the new TanStack Query artifacts.

This service is the pilot for the whole programme: it is the smallest surface (24 operations), and auth-ui is the first UI to adopt the new pipeline against it.

Acceptance criteria

  • The committed spec declares error responses as application/problem+json
  • The existing export drift gate still passes, so the committed spec matches live springdoc output
  • oasdiff reports the change as additive, not breaking
  • Republished clients are verified by inspecting the published package, not by a green run

Blocked by

  • Declare ProblemDetail responses on every operation (kotlin-spring-commons tracker)

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

    area: authAuthentication, authorization, sessions, or identity.component: apiHTTP API, OpenAPI contract, or API client concern.priority: P1High; important and should be handled in the current iteration.type: featureNew user-facing or operator-facing capability.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions