Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mmx86 opened this issue May 31, 2024 · 0 comments
Open

Comments

@mmx86
Copy link

mmx86 commented May 31, 2024

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: OpenAPITools/openapi-generator#5248

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

@mmx86 mmx86 changed the title title attribute in api schema results in incorrect schema generation "title" attribute in api schema results in incorrect schema generation May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant