You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior -
for path /provider/domain/v1/entity it should generate requests in order - POST, GET
for path /provider/domain/v1/entity/{id}, it should generate requests in order - GET, PATCH and DELETE
Actual behavior -
for path /provider/domain/v1/entity it generates requests in order - POST, GET (Working as expected)
for path /provider/domain/v1/entity/{id}, it keeps the same order - DELETE, GET, PATCH (Not working as expected)
The text was updated successfully, but these errors were encountered:
Somehow that "portman_operation": "PATCH::/:paymentCodeId/:organisationId" operation is getting added in very early compared to where i would expect it, based on the provided orderOfOperations
Hi Team,
I am using below configuration -
portman-config.json
"orderOfOperations":[
"POST::/*",
"GET::/*",
"PATCH::/*",
"DELETE::/*"
],
and schema.json
Path - /provider/domain/v1/entity
Operations -
GET
POST
Path - /provider/domain/v1/entity/{id}
Operations -
DELETE
GET
PATCH
Note: All operations have unique operationIds specified.
and postman-config.json
{
"folderStrategy": "Paths",
"requestParametersResolution": "Example"
}
command -
npx portman -l schema.json -b http://localhost -o postman-collection.json -c portman-config.json --postmanConfigFile postman-config.json
Expected behavior -
for path /provider/domain/v1/entity it should generate requests in order - POST, GET
for path /provider/domain/v1/entity/{id}, it should generate requests in order - GET, PATCH and DELETE
Actual behavior -
for path /provider/domain/v1/entity it generates requests in order - POST, GET (Working as expected)
for path /provider/domain/v1/entity/{id}, it keeps the same order - DELETE, GET, PATCH (Not working as expected)
The text was updated successfully, but these errors were encountered: