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

Register text/x-json mime type for the REST book examples to work #114

Closed
RandomFractals opened this issue Mar 21, 2022 · 1 comment
Closed
Labels
bug Something isn't working enhancement Feature enhancement

Comments

@RandomFractals
Copy link
Owner

REST book extension recently changed JSON output to use non-standard text/x-json mime type to display JSON responses.

This breaks REST book examples we created that expect common application/json mime type to be used instead.

Therefore, our renderers don't even show in the new Change Presentation list for REST book cell outputs.

Breaking change: tanhakabir/rest-book@e33ab58

See common mime types: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

@RandomFractals RandomFractals added bug Something isn't working enhancement Feature enhancement labels Mar 21, 2022
RandomFractals added a commit that referenced this issue Mar 21, 2022
…rs to work with updated restbook extension (#114)

and json response outputs from .restbook notebooks
@RandomFractals
Copy link
Owner Author

Updated renderers list display for the custom rest book text/x-json mime type output:

rest-book-x-json-output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Feature enhancement
Projects
None yet
Development

No branches or pull requests

1 participant