Skip to content

requestBody reference ignored #692

@jschaeff

Description

@jschaeff

When I describe an operation like this:

 operation :query_post,
    request_body:  %Reference{"$ref": "#/components/requestBodies/query"}

the request body ref is silently ignored, it does not appear in the /openapi json description.

On the contrary, putting directly the requestBody struct works:

 operation :query_post,
    request_body:  %RequestBody{description: "the body"}

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