Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stub-server] Update stub-server routing url to own sub-path #61

Open
mironx opened this issue Mar 6, 2025 · 0 comments
Open

[stub-server] Update stub-server routing url to own sub-path #61

mironx opened this issue Mar 6, 2025 · 0 comments

Comments

@mironx
Copy link
Contributor

mironx commented Mar 6, 2025

Would be good to update stub-server url to own sub-path to be more unique.

Routing: reset, list, and configure are too general as URLs and should be changed to prevent collisions or registered urls.

Proposition of new urls:

  • /reset → DELETE /stubserver/responses (removes all test responses).
  • /configure → POST /stubserver/responses (adds a new stub response).
  • /list → GET /stubserver/responses (retrieves all registered responses).

Also in this PR would be good to move stub server to internal.

@mironx mironx changed the title Update stub-server url to own sub-path [stub-server] Update stub-server routing url to own sub-path Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant