Skip to content

Issue when declaring request body #15

@prvdph

Description

@prvdph

ramlo 0.2.1

C:\bin\nvm\v6.2.1\node_modules\ramlo\src\modules\api.js:246
if (Object.keys(ramlBody).length > 0 && _.isFunction(body.schemaContent)) {

ReferenceError: body is not defined

It should be _.isFunction(ramlBody.schemaContent) not _.isFunction(body.schemaContent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions