Skip to content

Added new routes to mock errors - #955

Merged
eldadfux merged 1 commit into
masterfrom
feat-new-mock-routes
Mar 5, 2021
Merged

eldadfux merged 1 commit into
masterfrom
feat-new-mock-routes

Conversation

@eldadfux

@eldadfux eldadfux commented Mar 4, 2021

Copy link
Copy Markdown
Member

What does this PR do?

Added 2 new mock routes for simulating HTTP errors:
https://localhost/v1/mock/tests/general/400-error
https://localhost/v1/mock/tests/general/500-error

I will update the swagger spec file in the SDK generator, so we can use new methods to test our custom exceptions using those routes.

Test Plan

N/A

Related PRs and Issues

All new custom exceptions PRs on the SDK-Generator

Have you read the Contributing Guidelines on issues?

Yes

@lohanidamodar lohanidamodar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

2 participants