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

fix: update swagger issues and update generation flow #39

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

carlosmmatos
Copy link
Contributor

Fixes #33
Adds block execute to definition. This should be finally fixed upstream as well.

Fixes #35
Updates endpoint response to be of type Object. This one is interesting because it seems like it should actually be returning a binary object but instead it returns either a CSV string or JSON object depending on the type of scheduled report that was chosen. When this is updated upstream we will treat this as a binary download such as downloading a sensor.

This also fixes dealing with text/* returns such as csv. Now we just return it as a string instead of failing.

The Makefile has been updated to make use of the transformation.jq file to ensure our swagger spec file has fixes needed while we wait for upstream support.

Fixes CrowdStrike#33
Adds block execute to definition. This should be finally fixed upstream
as well.

Fixes CrowdStrike#35
Updates endpoint response to be of type Object. This one is interesting
because it seems like it should actually be returning a binary object
but instead it returns either a CSV string or JSON object depending on
the type of scheduled report that was chosen. When this is updated
upstream we will treat this as a binary download such as downloading a
sensor.

This also fixes dealing with text/* returns such as csv. Now we just
return it as a string instead of failing.

The Makefile has been updated to make use of the transformation.jq file
to ensure our swagger spec file has fixes needed while we wait for
upstream support.
@carlosmmatos carlosmmatos added the bugfixes associated with fix type commits label Nov 15, 2024
@carlosmmatos carlosmmatos added this to the 0.5.0 milestone Nov 15, 2024
@carlosmmatos carlosmmatos self-assigned this Nov 15, 2024
@carlosmmatos carlosmmatos merged commit 4753d94 into CrowdStrike:main Nov 15, 2024
5 checks passed
@carlosmmatos carlosmmatos deleted the fix-swagger-issues branch November 15, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfixes associated with fix type commits
Projects
None yet
1 participant