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 empty response tables #3271

Merged
merged 2 commits into from
Sep 14, 2024
Merged

Fix empty response tables #3271

merged 2 commits into from
Sep 14, 2024

Conversation

mooreds
Copy link
Contributor

@mooreds mooreds commented Sep 13, 2024

Two intermingled issues.

The delete operations against our API do not return JSON. We say that in the docs (see https://fusionauth.io/docs/apis/emails#response-4 ) where it states This API does not return a JSON response body.. But the table underneath it contradicts: The request was successful. The response will contain a JSON body.

This PR fixes the delete common component to remove the second sentence of the success code table.

There are a few POST operations that don't return JSON. They are subject to the same contradictions as the delete method above. I fixed those.

@mooreds mooreds requested review from a team as code owners September 13, 2024 21:54
@mooreds mooreds requested a review from dcharles8 September 13, 2024 22:00
Copy link
Contributor

@dcharles8 dcharles8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@mooreds mooreds merged commit 7cb63f2 into main Sep 14, 2024
2 checks passed
@mooreds mooreds deleted the mooreds/fix-empty-response-tables branch September 14, 2024 01:21
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.

2 participants