Skip to content

Commit

Permalink
Clarify httpResponseCode value range
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich committed Jun 5, 2024
1 parent 8b969b3 commit cdcbc30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source-2.0/spec/http-bindings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,9 @@ Conflicts with

Marking an output ``structure`` member with this trait can be used to provide
different response codes for an operation, like a 200 or 201 for a PUT
operation. If this member isn't provided, server implementations MUST default
to the `code` set by the :ref:`http-trait`.
operation. The value for this member SHOULD be between 200 and 299, inclusive.
If this member isn't provided, server implementations MUST default to the
`code` set by the :ref:`http-trait`.

``httpResponseCode`` is only used on top-level output
-----------------------------------------------------
Expand Down

0 comments on commit cdcbc30

Please sign in to comment.