Skip to content

Multiple produce/consume in single annotation #1

@dzolo

Description

@dzolo

Currently multiple definitions of consume/produce MIME types must be defined like this:

/**
 * @Consume(text/plain)
 * @Consume(application/json)
 */
public function muliple_consume($data) { /* ... */ }

This issue suggest them to be defines as:

/**
 * @Consume({text/plain,application/json})
 */
public function muliple_consume($data) { /* ... */ }

with same result.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions