Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Conversation

@LoopedBard3
Copy link
Member

Added showExceptionApis argument to the ApiPort Client. This will allow for the addition of methods that throw exceptions in requests for ApiPort analysis. The changes made followed the same format as the other command line arguments with the option to use -x or --showExceptionApis to get exception throwing Apis included in the report.

Parker Bibus added 18 commits June 8, 2020 12:26
…t is available to the rest of the api analysis.
…is included adding a place for exceptions to multiple models, specifically in the memberinfo and the analysisresponse models. Added a method in the analysis engine to find if a member throws an exception. Also added some helper methods for getting exceptions.
…ort is now able to take an offline catalog.bin and print out the exceptions that may be thrown in the JSON analysis response.
…an hold whatever we want, in this case exceptions, while still keeping compatability if no catalog is passed in. This means that ApiPort.Offline can run without needing a .bin file with exceptions. However, a new file will need to be made in order to get the Exceptions from.
… dotnetcatalog file. Also connected up the retrieval of the additional data catalog into the catalog lookup so that the exceptions can be retrieved.
… but still throw other exceptions. This is because the missing file is somewhat expected at the current time when the program is run without the exceptions.bin file.
… the ApiException model for proper equality checking and a formatted string containing the exception data.
…so that the exception data is only passed back when requested.
…different from the memberinfo models. This means that less data will be duplicated in the json response and that what the exceptions and general missing api return will be different seperate objects.
…eference and clarity on what does what. Also cleaned up one or two small pieces of code.
…for release (checking for proper formatting and style).
@Lxiamail Lxiamail self-requested a review July 20, 2020 21:19
@Lxiamail Lxiamail merged commit 5c37eb2 into microsoft:dev Jul 21, 2020
@LoopedBard3 LoopedBard3 deleted the ApiExceptionTieIn branch July 30, 2020 15:30
@Lxiamail Lxiamail mentioned this pull request Aug 12, 2020
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants