Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple produce/consume in single annotation #1

Open
dzolo opened this issue Sep 25, 2014 · 0 comments
Open

Multiple produce/consume in single annotation #1

dzolo opened this issue Sep 25, 2014 · 0 comments

Comments

@dzolo
Copy link
Member

dzolo commented Sep 25, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant