msgraph-metadata icon indicating copy to clipboard operation
msgraph-metadata copied to clipboard

Invalid http code 2XX, should be 200, 201, etc

Open apiarya opened this issue 10 months ago • 0 comments

There are 100s of operations declaring 2XX as HTTP response code. The value 2XX is not a valid HTTP code. It must be actual number. Ref:

  • https://swagger.io/specification/#patterned-fields-1
  • https://swagger.io/docs/specification/v3_0/describing-responses/#:~:text=Media%20Types.-,HTTP%20Status%20Codes,-Under%20responses%2C%20each
38            items:
39              type: string
40      responses:
41        2XX:
42          description: Retrieved entity
43          content:
  1. 20 $.paths['/admin'].get.responses
  2. 3968 $.paths['/agreements/{agreement-id}/file'].patch.responses
  3. ... 100s more

apiarya avatar Feb 07 '25 03:02 apiarya