All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wiremock_apim.mappings.importBackendApi.json Maven / Gradle / Ivy

The newest version!
{
  "mappings": [
    {
      "priority": 1,
      "request": {
        "method": "POST",
        "url": "/api/portal/v1.4/apirepo/import/"
      },
      "response": {
        "status": 201,
        "bodyFileName": "backend_api.json",
        "headers": {
          "Content-Type": "application/json"
        }
      }
    },
    {
      "priority": 1,
      "request": {
        "method": "POST",
        "url": "/api/portal/v1.4/apirepo/import/",
        "multipartPatterns": [
          {
            "matchingType" : "ANY",
            "headers" : {
              "Content-Disposition" : {
                "contains" : "name=\"type\""
              }
            },
            "bodyPatterns": [
              {
                "contains": "graphql"
              }
            ]
          }
        ]
      },
      "response": {
        "status": 201,
        "bodyFileName": "backend_api_graphql.json",
        "headers": {
          "Content-Type": "application/json"
        }
      }
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy