Skip to content

[OB3 OpenAPI] Pagination link expressions use $request.path instead of $request.query for limit/offset #634

@PatStLouis

Description

@PatStLouis

The GET /credentials operation defines four pagination links (next, last, prev, first) in components/links. Each link uses the following parameter expressions:

  "limit": "$request.path.limit",                                                                                      
  "offset": "$request.path.offset"

However, limit and offset are query parameters on GET /credentials, not path parameters. The correct runtime expressions per the OpenAPI 3.0 specification should be:

  "limit": "$request.query.limit",
  "offset": "$request.query.offset"

Impact: Tools that validate OpenAPI link definitions flag these as invalid and skip all stateful tests for the endpoint, since $request.path.limit references a non-existent path parameter.

Affected file: ob_v3p0_oas.json, components/links — all four link objects (next, last, prev, first).

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