Skip to content

componentschemas prefix? #397

Closed
Closed
@ramnes

Description

@ramnes

Describe the bug
Since b719316, I see a lot of files and classes created prefixed with componentschemas_ and Componentsschema, which doesn't seem normal to me.

To Reproduce
Run openapi-python-client update --config=generator/config.yaml --path=generator/openapi.yaml && git status on sftpgo-client with openapi-python-client at b719316.

Expected behavior
Not this:

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	sftpgo_client/base/models/componentsschemas_admin_status.py
	sftpgo_client/base/models/componentsschemas_azure_blob_fs_config_access_tier.py
	sftpgo_client/base/models/componentsschemas_connection_status_protocol.py
	sftpgo_client/base/models/componentsschemas_filesystem_config_provider.py
	sftpgo_client/base/models/componentsschemas_ftpd_binding_tls_mode.py
	sftpgo_client/base/models/componentsschemas_gcs_config_automatic_credentials.py
	sftpgo_client/base/models/componentsschemas_secret_status.py
	sftpgo_client/base/models/componentsschemas_services_status_defender.py
	sftpgo_client/base/models/componentsschemas_transfer_operation_type.py
	sftpgo_client/base/models/componentsschemas_user_filters_tls_username.py
	sftpgo_client/base/models/componentsschemas_user_permissions.py
	sftpgo_client/base/models/componentsschemas_user_status.py

OpenAPI Spec File
https://github.com/ramnes/sftpgo-client/blob/5abdfe1ae486e1b16d56b72ac52fe20e9a418bf7/generator/openapi.yaml

Desktop (please complete the following information):

  • OS: Linux
  • Python Version: 3.9
  • openapi-python-client version b719316

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions