Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

APIB: Multiple actions with custom URIs will override eachother #47

Open
chiiya opened this issue Sep 24, 2019 · 1 comment
Open

APIB: Multiple actions with custom URIs will override eachother #47

chiiya opened this issue Sep 24, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@chiiya
Copy link
Owner

chiiya commented Sep 24, 2019

Create Entry [POST /entries{?user_id,entry_id}]
Delete Entry [DELETE /entries{?user_id,entry_id}]

Will result in only the DELETE action being included. This is due to the fact that the APIB parser creates two separate resource entries, both with the same base URI.

@chiiya chiiya added the bug Something isn't working label Sep 24, 2019
@chiiya
Copy link
Owner Author

chiiya commented Sep 24, 2019

Weirdly enough, this only happens when the resource itself has query parameters specified, e.g.

## Entries [/entries{?user_id}]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant