Skip to content

Better validation for API requests. #892

@oliverchang

Description

@oliverchang

We can validate:

  1. The provided version is valid for the given ecosystem. We can simply do this by attempting to parse the provided version, if an ecosystem is specified.
  2. The provided package and version number exists in the ecosystem (this will need https://deps.dev support).

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiAPI-related infrastructurebacklogImportant but currently unprioritizedinfrainfrastructure bugs/FRs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions