Skip to content

Allow selectively enabling problem support on specific APIs / clients #320

Description

@jpraet

Continuation of #252.

An application may expose / consume multiple REST APIs.

  • What if it needs to expose one API that uses problems, but also another API that doesn't?
  • What if it needs to call one API that uses problems, but also another API that doesn't?

General idea is to allow to configure whether problem support should be enabled by default:

  • io.github.belgif.rest.problem.server-side-enabled=true/false (default true)
  • io.github.belgif.rest.problem.client-side-enabled=true/false (default true)

Combined with a way to enable/disable on API or client level, perhaps using annotations @EnableProblems @DisableProblems if feasible.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions