zfcampus / zf-versioning

BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

Versioning issue in Apigility #7

Open gouravkhanna opened 10 years ago

gouravkhanna commented 10 years ago

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.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas-api-tools/api-tools-versioning; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-versioning/issues/2.