amzn / amzn/smoke-framework

how to return custom status code like for ex. 201 - Created?

Open
#117 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.5k
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Hi,
I can't find It anywhere in docs or examples.
Tests in framework always asserts for 200 or errors.

ps. Thanks for great work on project!

Contributor guide

Open the contributing guide

Research direction

Start by reading the framework's existing documentation and examples, then inspect the framework tests that currently assert 200 responses or errors. Document the supported way to return a custom status such as 201 Created, with an example that can be verified against the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api, backend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.