Skip to content

OpenAPI contract: ComplianceRuleSummaryDto.severity widened from literal union to string #189

Description

@Harol-Reina

Surfaced during openapi-numeric-schema-truth (Web #222). The generated ComplianceRuleSummaryDto.severity is string, but the real contract is the literal union 'Info' | 'Warning' | 'Critical'. Web keeps the shape hand-written to preserve the literal union. Emit the enum/literal in the OpenAPI schema so Web can adopt the generated type.

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