Skip to content

DRU paths directly including a schema rather than a response #562

@jerstlouis

Description

@jerstlouis

The DRU pDeploy.yaml and pProcessListDeploy.yaml are directly including the processSummary.yaml schema where a response is expected.

This causes Swagger UI validation errors:

"paths.'/processes'(post).responses.201.$ref target #/components/schemas/processSummary is not of expected type Response"

Instead, it should be including a new file like openapi/responses/processes-dru/rProcessSummary.yaml that sets up a response and then include the processSummary.yaml schema, or if this can also optionally have the inputs and outputs, the existing openapi/responses/processes-core/rProcessDescription.yaml could be used.

cc. @gfenoy @pvretano @fmigneault

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions