Skip to content

Versioning issue in Apigility #2

@weierophinney

Description

@weierophinney

Just encountered a issue in while using a apigility.
As i am new i am not sure this is issue or existing flow of application.
This is the current situation i Created 3 module in api.

  1. Status - containing ping API
  2. Customer - containing test API
  3. User - containing test API

Eariler http://test.api/ping was working fine
but when i updated user module to version 2 and set its default version to 2.

my ping api of Status module stopped working and returned 404
but when i hit http://test.api/v1/ping
It works fine.

while debugging i found it was due to
'zf-versioning' => array(
'uri' => array(
0 => 'user.rest.test',
),
'default_version' => 2, //<this
),
in module config.

as its default version is changed to 2 but my other api is on default version of 1.


Originally posted by @gouravkhanna at zfcampus/zf-versioning#7

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