Unverified Commit 574369e1 authored by Luke's avatar Luke Committed by GitHub
Browse files

manually revert protobufany and updategroup in swagger.json (#867)

parent 3ec17765
Loading
Loading
Loading
Loading
+37 −27
Original line number Diff line number Diff line
@@ -1748,30 +1748,7 @@
            "in": "body",
            "required": true,
            "schema": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Name."
                },
                "description": {
                  "type": "string",
                  "description": "Description string."
                },
                "langTag": {
                  "type": "string",
                  "description": "Lang tag."
                },
                "avatarUrl": {
                  "type": "string",
                  "description": "Avatar URL."
                },
                "open": {
                  "type": "boolean",
                  "description": "Open is true if anyone should be allowed to join, or false if joins must be approved by a group admin."
                }
              },
              "description": "Update fields in a given group."
              "$ref": "#/definitions/apiUpdateGroupRequest"
            }
          }
        ],
@@ -4687,6 +4664,36 @@
      },
      "description": "Update a user's account details."
    },
    "apiUpdateGroupRequest": {
      "type": "object",
      "properties": {
        "groupId": {
          "type": "string",
          "description": "The ID of the group to update."
        },
        "name": {
          "type": "string",
          "description": "Name."
        },
        "description": {
          "type": "string",
          "description": "Description string."
        },
        "langTag": {
          "type": "string",
          "description": "Lang tag."
        },
        "avatarUrl": {
          "type": "string",
          "description": "Avatar URL."
        },
        "open": {
          "type": "boolean",
          "description": "Open is true if anyone should be allowed to join, or false if joins must be approved by a group admin."
        }
      },
      "description": "Update fields in a given group."
    },
    "apiUser": {
      "type": "object",
      "properties": {
@@ -5032,11 +5039,14 @@
    "protobufAny": {
      "type": "object",
      "properties": {
        "@type": {
        "typeUrl": {
          "type": "string"
        }
        },
      "additionalProperties": {}
        "value": {
          "type": "string",
          "format": "byte"
        }
      }
    },
    "rpcStatus": {
      "type": "object",