Skip to content

Dollar/$ in query per OData is incorrectly encoded #2201

@steve-o

Description

@steve-o

This is still a continuing issue with Swagger as of June 2nd 2016, it is resolved in the editor (2.10.1) per case swagger-api/swagger-editor#308 but not the UI (2.1.4) and so overly inconvenient when defining OData queries with pagination or change tracking, for example:

"parameters": [
    {
        "name": "Prefer",
        "in": "header",
        "required": false,
        "type": "string",
        "description": "For paging request set to \"odata.maxpagesize=10\", where 10 is the maximum number of files to return in each response.  For change tracking set t
o \"odata.track-changes; odata.maxpagesize=10\"."
    },
    {
        "name": "$skiptoken",
        "in": "query",
        "required": false,
        "type": "string",
        "description": "For paging request, a token to refer to a previous request."
    },
    {
        "name": "$deltatoken",
        "in": "query",
        "required": false,
        "type": "string",
        "description": "For change tracking, a token to refer to a previous request."
    }
]

This case was recorded previously as #1469 but prematurely closed by that author.

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