mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 10:53:23 +00:00
Adding new code-generator (Butcher) (#1069)
* Re-generate types * Re-generate methods (only attributes) * Added enums * Base init generator * Added butcher configs * Fixed tests, bump butcher * Added changelog * Added enum docs * Added templates for docs index * Re-generate bot class, remove deprecated methods
This commit is contained in:
parent
c7779abc50
commit
d034c1ba9f
387 changed files with 32036 additions and 3144 deletions
67
.butcher/types/ShippingAddress/entity.json
Normal file
67
.butcher/types/ShippingAddress/entity.json
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
"meta": {
|
||||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Payments",
|
||||
"anchor": "payments"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "shippingaddress",
|
||||
"name": "ShippingAddress",
|
||||
"description": "This object represents a shipping address.",
|
||||
"html_description": "<p>This object represents a shipping address.</p>",
|
||||
"rst_description": "This object represents a shipping address.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Two-letter ISO 3166-1 alpha-2 country code",
|
||||
"html_description": "<td>Two-letter ISO 3166-1 alpha-2 country code</td>",
|
||||
"rst_description": "Two-letter ISO 3166-1 alpha-2 country code\n",
|
||||
"name": "country_code",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "State, if applicable",
|
||||
"html_description": "<td>State, if applicable</td>",
|
||||
"rst_description": "State, if applicable\n",
|
||||
"name": "state",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "City",
|
||||
"html_description": "<td>City</td>",
|
||||
"rst_description": "City\n",
|
||||
"name": "city",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "First line for the address",
|
||||
"html_description": "<td>First line for the address</td>",
|
||||
"rst_description": "First line for the address\n",
|
||||
"name": "street_line1",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Second line for the address",
|
||||
"html_description": "<td>Second line for the address</td>",
|
||||
"rst_description": "Second line for the address\n",
|
||||
"name": "street_line2",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "String",
|
||||
"description": "Address post code",
|
||||
"html_description": "<td>Address post code</td>",
|
||||
"rst_description": "Address post code\n",
|
||||
"name": "post_code",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue