Permify / permify-python

Permify Python Client
Apache License 2.0
7 stars 1 forks source link

"title" attribute in api schema results in incorrect schema generation #2

Open mmx86 opened 3 months ago

mmx86 commented 3 months ago

https://github.com/Permify/permify/blob/a616ca023055edccc0c187a0cb433eacdfe52783/docs/api-reference/apidocs.swagger.json#L1473

"title": "It contains the tenant_id to identify the tenant and metadata of the schema to be edited,\nwith the corresponding edits to various entities"

is responsible for generation of this file: https://github.com/Permify/permify-python/blob/13fc62c5308dde41475983a2dfeafaeafef9fcd9/permify/models/it_contains_the_tenant_id_to_identify_the_tenant_and_metadata_of_the_schema_to_be_edited_with_the_corresponding_edits_to_various_entities.py

related issue: https://github.com/OpenAPITools/openapi-generator/issues/5248

If you change "title" to "description" in schema - it generates correctly.