Skip to content

Allow multiple verbs for a service method #640

Open
@Kaliumhexacyanoferrat

Description

@Kaliumhexacyanoferrat

As a developer of a web service, I would like a service method to be called for multiple verbs (or even any), so that I can use the same logic without the need of adding multiple methods.

Example

[ResourceMethod([RequestMethod.Post, RequestMethod.Put])]

... or ...

[ResourceMethod(RequestMethod.Post)]
[ResourceMethod(RequestMethod.Put)]

Acceptance criteria

  • Multiple verbs can be used by the same method
  • Some kind of Any mechanism is implemented
  • The feature is documented on the GenHTTP website
  • The feature is covered by acceptance tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions