document:
  dsl: '1.0.0'
  namespace: test
  name: call-http-output-response-as
  version: '0.1.0'
do:
  - getPetStatusCode:
      call: http
      with:
        method: get
        output: response
        endpoint:
          uri: http://localhost:9876/pets/1
      output:
        as: .statusCode
