{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":630684008,"defaultBranch":"master","name":"spectree","ownerLogin":"AndreasBBS","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-04-20T23:25:43.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/12399440?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1684069588.3698938","currentOid":""},"activityList":{"items":[{"before":"f0ea3c8384a0beae6230dc4a4175ac9a133b680d","after":"7d585b6eaef721abc115dfb40851cf9912538c8c","ref":"refs/heads/feature/disable_publish_apidoc","pushedAt":"2023-05-14T13:18:11.531Z","pushType":"push","commitsCount":1,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🐛 fix(spectree): remove unnecessary app attribute from backend\nThe app attribute was being set in the backend, but it was not being used. This commit removes the app attribute from the backend.","shortMessageHtmlLink":"🐛 fix(spectree): remove unnecessary app attribute from backend"}},{"before":null,"after":"f0ea3c8384a0beae6230dc4a4175ac9a133b680d","ref":"refs/heads/feature/disable_publish_apidoc","pushedAt":"2023-05-14T13:06:28.369Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔖 chore(spec.py): add publish_apidoc flag to SpecTree constructor\nThe `publish_apidoc` flag is added to the `SpecTree` constructor to allow users to disable publishing of the API documentation. If the flag is set to `False`, the `register_route` method will not be called, and the `backend.app` attribute will be set to the `app` attribute.","shortMessageHtmlLink":"🔖 chore(spec.py): add publish_apidoc flag to SpecTree constructor"}},{"before":"3d5f31ac9065a7bb58a4b55d9990a6fe325dfd57","after":"0508b707811a85e8294afa4a14fedd6b9b66ba57","ref":"refs/heads/master","pushedAt":"2023-05-14T12:47:15.467Z","pushType":"push","commitsCount":3,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"chore: clean test warnings (#308)\n\n* chore: clean test warnings\n\nSigned-off-by: Keming \n\n* make it compatible with py37\n\nSigned-off-by: Keming \n\n* deprecate 3.7 test\n\nSigned-off-by: Keming \n\n---------\n\nSigned-off-by: Keming ","shortMessageHtmlLink":"chore: clean test warnings (0b01001001#308)"}},{"before":"c7d16f7b48faf99caa3d2f540ac1be644f27531d","after":"9fbebf0b4929a25485a13f3a3a56055245d49f1b","ref":"refs/heads/refactor/get_model_schema","pushedAt":"2023-04-24T11:37:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔀 merge(types, spec, utils): add support for nested model reference names\n✨ feat(types.py): add NestedNamingStrategy type alias\n✨ feat(spec.py): add nested_naming_strategy parameter to SpecTree constructor and get_model_schema method\n✨ feat(utils.py): add get_nested_key function to generate nested model reference names\nThe changes add support for nested model reference names in Spectree. A new type alias, NestedNamingStrategy, is added to _types.py. SpecTree constructor and get_model_schema method in spec.py now accept a new parameter, nested_naming_strategy, which is used to generate nested model reference names. get_nested_key function is added to utils.py to generate nested model reference names.","shortMessageHtmlLink":"🔀 merge(types, spec, utils): add support for nested model reference n…"}},{"before":null,"after":"c7d16f7b48faf99caa3d2f540ac1be644f27531d","ref":"refs/heads/refactor/get_model_schema","pushedAt":"2023-04-24T11:15:23.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔀 merge(spectree): add support for nested model reference names\n✨ feat(_types.py): add NestedNamingStrategy type\n✨ feat(spec.py): add support for nested model reference names\n✨ feat(utils.py): add get_nested_key function\nThis change adds support for nested model reference names in Spectree. A new type, NestedNamingStrategy, is added to _types.py. The SpecTree class in spec.py now has a new parameter, nested_naming_strategy, which defaults to get_nested_key. The get_model_schema function in utils.py is updated to use the nested_naming_strategy parameter to generate nested model reference names. A new function, get_nested_key, is added to utils.py to generate nested model reference names.","shortMessageHtmlLink":"🔀 merge(spectree): add support for nested model reference names"}},{"before":"245fa3c62bbeddd5191e3da807d53bfcaac83d0b","after":null,"ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-23T17:07:16.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"}},{"before":"78edc00241006832f32a0e569e7a27844ca9aa38","after":"3d5f31ac9065a7bb58a4b55d9990a6fe325dfd57","ref":"refs/heads/master","pushedAt":"2023-04-23T17:05:23.096Z","pushType":"push","commitsCount":2,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"fix: use the status code from std http lib (#303)\n\nSigned-off-by: Keming ","shortMessageHtmlLink":"fix: use the status code from std http lib (0b01001001#303)"}},{"before":"ada58db2c517c71626e1c009ca678183c27dc3cf","after":"245fa3c62bbeddd5191e3da807d53bfcaac83d0b","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-23T17:05:08.987Z","pushType":"push","commitsCount":3,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"Merge branch '0b01001001:master' into refactor/get_model_key","shortMessageHtmlLink":"Merge branch '0b01001001:master' into refactor/get_model_key"}},{"before":"6925086d2a818829c081bad927db760d5ed17fb6","after":"ada58db2c517c71626e1c009ca678183c27dc3cf","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T20:36:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔀 refactor(types.py): add line breaks to import statements\nThe import statements in the _types.py file were too long and difficult to read. Line breaks were added to improve readability.\n\n🔀 refactor(response.py): add naming_strategy parameter to generate_spec method\nThe generate_spec method in the Response class now accepts a naming_strategy parameter. This allows the user to specify a custom naming strategy for the model names in the response spec.\n\n🔀 refactor(spec.py): add naming_strategy parameter to __init__ and parse_model methods\nThe __init__ and parse_model methods in the SpecTree class now accept a naming_strategy parameter. This allows the user to specify a custom naming strategy for the model names in the OpenAPI spec.\n\n🔀 refactor(utils.py): add naming_strategy parameter to get_model_schema and parse_resp functions\nThe get_model_schema and parse_resp functions in the utils.py file now accept a naming_strategy parameter. This allows the user to specify a","shortMessageHtmlLink":"🔀 refactor(types.py): add line breaks to import statements"}},{"before":"88ff6d0d2680ee635b854a91bf268926453e9cb4","after":"6925086d2a818829c081bad927db760d5ed17fb6","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T20:34:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔀 refactor(types.py): add line breaks to import statements\nThe import statements in types.py were too long and difficult to read. Line breaks were added to improve readability.\n\n🔀 refactor(response.py): add naming_strategy parameter to generate_spec method\nThe generate_spec method in response.py now accepts a naming_strategy parameter to allow for customization of the naming strategy used for generating model names.\n\n🔀 refactor(spec.py): add naming_strategy parameter to SpecTree constructor and get_model_schema method\nThe SpecTree constructor and get_model_schema method now accept a naming_strategy parameter to allow for customization of the naming strategy used for generating model names.\n\n🔀 refactor(utils.py): add naming_strategy parameter to get_model_schema method and parse_resp method\nThe get_model_schema and parse_resp methods in utils.py now accept a naming_strategy parameter to allow for customization of the naming strategy used for generating model names.","shortMessageHtmlLink":"🔀 refactor(types.py): add line breaks to import statements"}},{"before":"4c188619e38e5c61d2087a907f75714a98f56ec9","after":"88ff6d0d2680ee635b854a91bf268926453e9cb4","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T20:18:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔀 refactor(response.py, spec.py, utils.py): add naming_strategy parameter to generate_spec and get_model_schema functions\nThis change adds a naming_strategy parameter to the generate_spec and get_model_schema functions. The naming_strategy parameter is a callable that takes a ModelType and returns a string. This allows for more flexibility in naming models and responses. The parse_resp function has also been updated to accept the naming_strategy parameter and pass it to the generate_spec function.","shortMessageHtmlLink":"🔀 refactor(response.py, spec.py, utils.py): add naming_strategy param…"}},{"before":"88e9c3cf67cc154fc1cc2bc2892b43b646cdb268","after":"4c188619e38e5c61d2087a907f75714a98f56ec9","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T19:47:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🐛 fix(utils.py): move generate_spec_from_response to utils and remove get_model_key\n✨ feat(BasePlugin): add get_model_key method\nThe `generate_spec_from_response` function was moved to `utils.py` and the `get_model_key` function was removed from it. The `get_model_key` method was added to the `BasePlugin` class. This change improves the code structure and removes the possibility of code-structure leaking. The `generate_spec_from_response` function generates the spec for responses, and the `get_model_key` method generates a model name suffixed by short hashed path.","shortMessageHtmlLink":"🐛 fix(utils.py): move generate_spec_from_response to utils and remove…"}},{"before":"30fad9e68623554208e0f364de9321de82f34147","after":"88e9c3cf67cc154fc1cc2bc2892b43b646cdb268","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T19:44:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🐛 fix(utils.py): move generate_spec_from_response to utils and remove get_model_key\n✨ feat(BasePlugin): add get_model_key method\nThe `generate_spec_from_response` function was moved to `utils.py` and the `get_model_key` function was removed from it. The `get_model_key` method was added to the `BasePlugin` class. This change improves the code structure and removes the possibility of code-structure leaking. The `generate_spec_from_response` function generates the spec for responses.","shortMessageHtmlLink":"🐛 fix(utils.py): move generate_spec_from_response to utils and remove…"}},{"before":"70c281661eb734051703ceb0d33fb950911f3171","after":"30fad9e68623554208e0f364de9321de82f34147","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T18:10:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔨 refactor(utils.py): move get_model_key to BasePlugin class\n🚚 chore(utils.py): remove unused import\n🚚 chore(test_plugin.py): remove unused import\nThe `get_model_key` function has been moved to the `BasePlugin` class to improve code organization and avoid code-structure leaking. The unused import statements have been removed.","shortMessageHtmlLink":"🔨 refactor(utils.py): move get_model_key to BasePlugin class"}},{"before":"d1921608e5b8db2fd190537c9b6faef4aa045b0e","after":"70c281661eb734051703ceb0d33fb950911f3171","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T12:41:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔨 refactor(base.py): move get_model_key to BasePlugin class\n🔨 refactor(response.py): use BasePlugin.get_model_key instead of get_model_key\n🔨 refactor(spec.py): use self.backend.get_model_key instead of get_model_key\n🔨 refactor(utils.py): remove get_model_key function\nThe get_model_key function has been moved to the BasePlugin class to improve code organization and avoid code-structure leaking. The Response and SpecTree classes now use the BasePlugin.get_model_key method instead of the get_model_key function. The get_model_key function has been removed from the utils module.","shortMessageHtmlLink":"🔨 refactor(base.py): move get_model_key to BasePlugin class"}},{"before":"8202c44d2427c847aad2d183e46e4cbbb34c510e","after":"d1921608e5b8db2fd190537c9b6faef4aa045b0e","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T12:35:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔨 refactor(utils.py): move get_model_key to BasePlugin class\n🔨 refactor(response.py): use BasePlugin.get_model_key instead of get_model_key\n🔨 refactor(spec.py): use self.backend.get_model_key instead of get_model_key\n🔨 refactor(test_plugin.py): use BasePlugin.get_model_key instead of get_model_key\nThe `get_model_key` function has been moved to the `BasePlugin` class to improve code structure and avoid code-structure leaking. The `BasePlugin.get_model_key` method is now used in `response.py`, `spec.py`, and `test_plugin.py`.","shortMessageHtmlLink":"🔨 refactor(utils.py): move get_model_key to BasePlugin class"}},{"before":"8a6456dcc8ab3ff6ca8c92717b6940883c54a23f","after":"8202c44d2427c847aad2d183e46e4cbbb34c510e","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T12:26:38.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class\n🔒 refactor(common.py): replace get_model_key function with BasePlugin.get_model_key\n🔒 refactor(test_plugin.py): replace get_model_key function with BasePlugin.get_model_key\nThe `get_model_key` function has been moved to the `BasePlugin` class to improve code organization and avoid code-structure leaking. The `get_model_key` function is now called using the `BasePlugin` class in the `common.py` and `test_plugin.py` files.","shortMessageHtmlLink":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class"}},{"before":"9b159c6c99c3160946182bbd2839df817edf88e5","after":"8a6456dcc8ab3ff6ca8c92717b6940883c54a23f","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T12:24:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class\n🔒 refactor(common.py): replace get_model_key function with BasePlugin.get_model_key\n🔒 refactor(test_plugin.py): replace get_model_key function with BasePlugin.get_model_key\nThe get_model_key function has been moved to the BasePlugin class to improve code organization and avoid code-structure leaking. The function is now accessed via the BasePlugin class. This change does not affect the functionality of the code.","shortMessageHtmlLink":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class"}},{"before":"1323e3de512bf9a884077248ab7d06a93a9c4fd6","after":"9b159c6c99c3160946182bbd2839df817edf88e5","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T12:20:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class\n🔒 refactor(common.py): replace get_model_key function with BasePlugin.get_model_key\n🔒 refactor(response.py): replace get_model_key function with BasePlugin.get_model_key\n🔒 refactor(spec.py): replace get_model_key function with backend.get_model_key\n🔒 refactor(utils.py): replace get_model_key function with BasePlugin.get_model_key\nThe `get_model_key` function has been moved to the `BasePlugin` class to improve code organization and avoid code-structure leaking. The function has been replaced in all files that use it with the `BasePlugin.get_model_key` method.","shortMessageHtmlLink":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class"}},{"before":null,"after":"1323e3de512bf9a884077248ab7d06a93a9c4fd6","ref":"refs/heads/refactor/get_model_key","pushedAt":"2023-04-21T12:09:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"AndreasBBS","name":"André Santos","path":"/AndreasBBS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12399440?s=80&v=4"},"commit":{"message":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class\n🔒 refactor(utils.py): remove hash_module_path function\n🔒 refactor(common.py): replace get_model_path_key function with BasePlugin.get_model_key\nThe `get_model_key` function has been moved to the `BasePlugin` class to improve code organization and avoid code-structure leaking. The `hash_module_path` function has been removed as it is no longer used. The `get_model_path_key` function in `common.py` has been replaced with `BasePlugin.get_model_key` to use the new implementation.","shortMessageHtmlLink":"🔒 refactor(utils.py): move get_model_key function to BasePlugin class"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNS0xNFQxMzoxODoxMS41MzE2MzRazwAAAAMsXNc0","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNS0xNFQxMzoxODoxMS41MzE2MzRazwAAAAMsXNc0","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0yMVQxMjowOTo0Ni4wMDAwMDBazwAAAAMdlk_2"}},"title":"Activity · AndreasBBS/spectree"}