{
  "openapi": "3.0.3",
  "info": {
    "title": "Dummy ERP API",
    "version": "1.0.0",
    "description": "A demo API that accepts supplier updates without authentication or storage."
  },
  "servers": [
    {
      "url": "/"
    }
  ],
  "paths": {
    "/api/supplier": {
      "patch": {
        "operationId": "updateSupplier",
        "summary": "Accept a supplier update",
        "description": "The request body is ignored and is not validated or stored. Missing or malformed bodies also receive a 200 response.",
        "requestBody": {
          "required": false,
          "description": "Example supplier update. The endpoint does not validate the supplied fields.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "Name": {
                    "type": "string",
                    "example": "Contoso"
                  },
                  "Address": {
                    "type": "string",
                    "example": "123 Main Street"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The request was accepted; no data was saved.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Supplier update accepted"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
