Skip to content

validateOAS not set in OpenApi #15

@harveycggit

Description

@harveycggit

Setting validateOAS to false in a jenkinsfile appears to make no difference because the assignment appears to be missing in OpenAPI.

I believe

OpenAPI(Map conf) {
    assert conf.filename != null
    assert conf.content != null
    this.filename = conf.filename
    this.content = conf.content
} 

should be
OpenAPI(Map conf) {
assert conf.filename != null
assert conf.content != null
this.filename = conf.filename
this.content = conf.content
this.validateOAS = conf.validateOAS
}

Changing that appears to make the param work successfully.

Thanks,
Charles

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