Skip to content

PUT custom item operation should not have a body as default on documentation #2296

Closed
@soullivaneuh

Description

@soullivaneuh

If I create a custom PUT item operation:

 *         "validate" = {
 *             "method" = "PUT",
 *             "path" = "/ssl_certificates/{id}/validate",
 *             "controller" = SslCertificateValidate::class
 *         }

The documentation will add the model description as body parameter, same as classic PUT operation.

If the operation is custom, I don't see why this body should be automatically added.

Am I right?

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