Skip to content

Updated Module Classification - #348

Merged
Peter Ombwa (peombwa) merged 8 commits into
devfrom
po/moduleStructure
Aug 26, 2020
Merged

Peter Ombwa (peombwa) merged 8 commits into
devfrom
po/moduleStructure

Conversation

@peombwa

@peombwa Peter Ombwa (peombwa) commented Aug 25, 2020 •

Copy link
Copy Markdown
Member

This PR updates the current module structure by purging invalid cmdlets and grouping related cmdlets into one module. The layout is based on the previously shared Excel file.

Change proposed in this PR reduces the current module footprint from 99 to 31 modules. The reduction is mostly attributed to the remove-path-by-operation directive, which removes invalid/redundant navigation properties/ OpenAPI paths from being generated into cmdlets. e.g.

One can only list a drive’s activities, and all calls to /drives/{drive-id}/activities/* will always result in a 400 – resource not found for the segment. Since this path is invalid, remove-path-by-operation directive in Files module will remove all /drives/{drive-id}/*/activity/* paths and only retain a single GET path to list a drive’s activities. See docs for more information.

Given the large size of PR, it is easier to review the following files in the branch to see what changes have been made:

Closes #336 #345 #344

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

Successfully merging this pull request may close these issues.

Module Re-org

2 participants