Skip to content

Commit

Permalink
feat: add content schema to 201 messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Jul 20, 2024
1 parent 62f5e5e commit da101c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/routes/swagger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const buildOperation = (
throw new Error(`Invalid status code ${status}.`);
}

if (status === 200) {
if (status === 200 || status === 201) {
return [
status,
{
Expand Down

0 comments on commit da101c7

Please sign in to comment.