getappmap / appmap-ruby

AppMap client agent for Ruby
https://appland.org
Other
100 stars 13 forks source link

rename property `status` to `status_code` #262

Closed lachrist closed 4 months ago

lachrist commented 2 years ago

http_server_response and http_client_response should contain status_code instead of status.

{
  "id": 2102,
  "event": "return",
  "thread_id": 4280,
  "parent_id": 2021,
  "elapsed": 0.006784999743103981,
  "http_server_response": {
    "headers": {
      "X-Frame-Options": "SAMEORIGIN",
      "X-XSS-Protection": "1; mode=block",
      "X-Content-Type-Options": "nosniff",
      "X-Download-Options": "noopen",
      "X-Permitted-Cross-Domain-Policies": "none",
      "Referrer-Policy": "strict-origin-when-cross-origin",
      "Location": "http://www.example.com/users/762146111"
    },
    "status": 302
  }
}

Spec:

kgilpin commented 4 months ago

Fixed