Skip to content

You are setting a key that conflicts with a built-in method Apivore::Swagger#version #114

@MiralDesai

Description

@MiralDesai

Rest of the error:

/$userpath/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/apivore-1.6.2/lib/apivore/swagger.rb:19.

I assume it's talking about this line in my request spec:

subject { Apivore::SwaggerChecker.instance_for('/docs/swagger.json') }

However to me it looks like it's setup exactly as the docs suggest. Seems like a bug with the gem.

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