Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #107 from foaly-nr1/patch-1
Browse files Browse the repository at this point in the history
[docs] Fix #responses anchor
  • Loading branch information
kleijnweb committed Jan 11, 2018
2 parents 992bf63 + d74d945 commit 67ccb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Custom processors can be a very powerful tool. See [KleijnWeb\PhpApi\Description

---------------------------------------

## <a name="serialization"></a> Responses
## <a name="responses"></a> Responses

When a controller action returns `NULL` or an empty string, SwaggerBundle will return an empty `204` response, provided that one is defined in the specification.
Otherwise, it will default to the first 2xx type response defined in your spec, or if all else fails, simply 200.
Expand Down

0 comments on commit 67ccb49

Please sign in to comment.