Skip to content

deprecated on non deprecated methods #852

@i022098

Description

@i022098

Hello
the JSON that returns from the server states "deprecated":"false", and in the UI i got warning that the function is deprecated.
this is a bug.
in order to fix it, please change swagger-ui.js file and replace:

helpers['if'].call(depth0, depth0.deprecated -->
helpers['if'].call(depth0, depth0.deprecated == 'true'

this change the value from String to Boolean and fix the problem
Regards
i022098

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions