Skip to content

How to support api versioning with Path Parameter  #37

@bvora-systemone

Description

@bvora-systemone

There is issue with the apis which is containing path parameters. While we are trying to access such apis using hapi-api-versioning its not detecting path parameter.

Due to that its throwing 404 error.
Ex, client is requesting this endpoint /api/user/{userId} (/api/user/62). So its path parameter {userId} is not detected in server.ext('onRequest', ...).

Eventually it's ending up with 404 error. Which is more likely not handled in hapi-api-versioning.

Seeking support. Thank you in Advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions