Apache Dubbo · JSON Structure

Dubbo Admin Model. Mock Rule Structure

model.MockRule schema from Dubbo Admin API

Type: object Properties: 5
ApacheGoJavaMicroservicesOpen SourceRPCService DiscoveryService Mesh

model.MockRule is a JSON Structure definition published by Apache Dubbo, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

enable id methodName rule serviceName

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-dubbo/refs/heads/main/json-structure/dubbo-admin-model.-mock-rule-structure.json",
  "name": "model.MockRule",
  "description": "model.MockRule schema from Dubbo Admin API",
  "type": "object",
  "properties": {
    "enable": {
      "type": "boolean"
    },
    "id": {
      "type": "int32"
    },
    "methodName": {
      "type": "string"
    },
    "rule": {
      "type": "string"
    },
    "serviceName": {
      "type": "string"
    }
  }
}