Different behavior if api is imported via swagger file or manual update

Hi all,

When I manually upload an API in Tyk via the “Import swagger” button in Tyk, it will produce the following extended paths:
"white_list" : [ **
** {

** “path” : “/brands/get-by-brandcode”,**
** “method_actions” : {**
** “GET” : {**
** “action” : “no_action”,**
** “code” : 0,**
** “data” : “”,**
** “headers” : {}**
** }**
** }**
** }, **
** {**
** “path” : “/brands/list-all-paged”,**
** “method_actions” : {**
** “POST” : {**
** “action” : “no_action”,**
** “code” : 0,**
** “data” : “”,**
** “headers” : {}**
** }**
** }**
** }**
** ],**
Why is the code “0” changed to “200” after I update the api manually by only clicking on the update button on the api page itself:
"white_list" : [ **
** {

** “path” : “/brands/get-by-brandcode”,**
** “method_actions” : {**
** “GET” : {**
** “action” : “no_action”,**
** “code” : 200,**
** “data” : “”,**
** “headers” : {}**
** }**
** }**
** }, **
** {**
** “path” : “/brands/list-all-paged”,**
** “method_actions” : {**
** “POST” : {**
** “action” : “no_action”,**
** “code” : 200,**
** “data” : “”,**
** “headers” : {}**
** }**
** }**
** }**
** ],**

This issue might be related to a “requested endpoint is forbidden” on a POST method error but I will create a separate topic for it later.

Kind regards,

Tim