Skip to content

Incorrect 'wrong status code' for Server Info #81

@matthijsbrouwer

Description

@matthijsbrouwer

I encountered an issue when testing my flask-restx based BrAPI server. Accessing the URL results in a "wrong status code" error for the /serverinfo endpoint.

Server Info (0/1)
GET /serverinfo (wrong status code)
Test: Status code should be 200

Upon investigating the log files from the BrAPI server, I found a request to:

GET /my-location/brapi/serverinfo?json=

On my server this request does not return a 200 status code and instead results in an error due to the unknown json parameter. Shouldn't the json parameter be omitted by the validator?

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