Add support for 'collection' type in both the doc and the sandbox #59

Closed
willdurand opened this Issue Jul 25, 2012 · 8 comments

Comments

Projects
None yet
8 participants
@willdurand
Collaborator

willdurand commented Jul 25, 2012

No description provided.

@damienalexandre

This comment has been minimized.

Show comment
Hide comment
@damienalexandre

damienalexandre Sep 11, 2012

Contributor

Is this about the array=true option of @QueryParam? I may be working on it soon!

Contributor

damienalexandre commented Sep 11, 2012

Is this about the array=true option of @QueryParam? I may be working on it soon!

@mtotheikle

This comment has been minimized.

Show comment
Hide comment
@mtotheikle

mtotheikle Jun 28, 2013

Anyone make progress on this?

Anyone make progress on this?

@hd-deman

This comment has been minimized.

Show comment
Hide comment
@hd-deman

hd-deman Aug 28, 2013

+1

+1

@hutchic

This comment has been minimized.

Show comment
Hide comment
@hutchic

hutchic Oct 2, 2013

This issue is reslved and references 213 while 213 is resolved and references this issue?

hutchic commented Oct 2, 2013

This issue is reslved and references 213 while 213 is resolved and references this issue?

@willdurand

This comment has been minimized.

Show comment
Hide comment
@willdurand

willdurand Oct 2, 2013

Collaborator

No. The other one is a duplicate entry. That one is the one to resolve.

Collaborator

willdurand commented Oct 2, 2013

No. The other one is a duplicate entry. That one is the one to resolve.

@AlmogBaku

This comment has been minimized.

Show comment
Hide comment
@AlmogBaku

AlmogBaku Apr 7, 2015

Contributor

@willdurand do you have a lead? I want to help solving this issue.

Contributor

AlmogBaku commented Apr 7, 2015

@willdurand do you have a lead? I want to help solving this issue.

@foaly-nr1

This comment has been minimized.

Show comment
Hide comment
@foaly-nr1

foaly-nr1 Oct 7, 2015

@AlmogBaku The field type collection is currently displayed as below. Ideally it would display a collection of fields of the correct field type.

screen shot 2015-10-07 at 22 50 12

Also, 'required' isn't recognised when set in the options array:

$builder->add('tagged', 'collection', [
    'type' => 'integer',
    'options'  => [
        'required'  => false,
    ],
    'description' => 'IDs of users tagged in this post',
])

@AlmogBaku The field type collection is currently displayed as below. Ideally it would display a collection of fields of the correct field type.

screen shot 2015-10-07 at 22 50 12

Also, 'required' isn't recognised when set in the options array:

$builder->add('tagged', 'collection', [
    'type' => 'integer',
    'options'  => [
        'required'  => false,
    ],
    'description' => 'IDs of users tagged in this post',
])
@dbu

This comment has been minimized.

Show comment
Hide comment
@dbu

dbu Dec 22, 2017

Collaborator

collections are supported with the swagger-php annotations in version 3 of this bundle

Collaborator

dbu commented Dec 22, 2017

collections are supported with the swagger-php annotations in version 3 of this bundle

@dbu dbu closed this Dec 22, 2017

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