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

Move models under their corresponding API modules. #21

Closed
obmarg opened this issue Feb 3, 2018 · 0 comments
Closed

Move models under their corresponding API modules. #21

obmarg opened this issue Feb 3, 2018 · 0 comments

Comments

@obmarg
Copy link
Owner

obmarg commented Feb 3, 2018

Most of the models in Kazan correspond with a particular API & API version. For example Kazan.Apis.RbacAuthorizationV1.list_role_for_all_namespaces returns Kazan.Models.Rbac.V1.RoleList.

I'm thinking it would make more sense if models were grouped with the APIs that they correspond with. For the above example this would mean Kazan.Apis.RbacAuthorization.V1.list_role_for_all_namespaces would return a Kazan.Apis.RbacAuthorization.V1.RoleList.

This would make grouping documents as suggested in #20 a bit easier - the groups could correspond with the individual APIs.

obmarg added a commit that referenced this issue Feb 3, 2018
obmarg added a commit that referenced this issue Feb 4, 2018
obmarg added a commit that referenced this issue Feb 4, 2018
@obmarg obmarg closed this as completed in 8e35efe Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant