VKCOM / vk-api-schema

JSON Schema of VK API
MIT License
206 stars 63 forks source link

Need to add `format:"json"` tag #216

Open elias506 opened 2 years ago

elias506 commented 2 years ago

In method messages.send need to add format:"json" tag to fields messages_forward and messages_keyboard:


{
        "name": "messages.send",
        ...
        "parameters": [
                ...
                {
                  "name": "forward",
                  "description": "JSON describing the forwarded message or reply",
                  "type": "string",
                  "format": "json",
                  "$ref": "objects.json#/definitions/messages_forward"
                },
                ...
                {
                  "name": "keyboard",
                  "type": "string",
                  "format": "json",
                  "$ref": "objects.json#/definitions/messages_keyboard"
                },
                ...
}
elias506 commented 2 years ago

Fix by https://github.com/VKCOM/vk-api-schema/pull/214