Skip to content

Define complete request/response models #98

@rkorsak

Description

@rkorsak

Feature Request

The web API uses Pydantic models for requests and responses, but these don't play well with our lower-level serializable types. The result is our use of Any types for the majority of our models, which kills most of the data validation benefits that we should get from Pydantic and makes our OpenAPI spec much weaker.

We should provide complete models all the way down, either by defining new Pydantic models or finding a working strategy for including our serializable electionguard-python models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageWaiting to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions