Skip to content

Improve 204 response handling#12

Merged
greyli merged 4 commits intomasterfrom
fix-empty-dict-schema
Apr 3, 2021
Merged

Improve 204 response handling#12
greyli merged 4 commits intomasterfrom
fix-empty-dict-schema

Conversation

@greyli
Copy link
Copy Markdown
Member

@greyli greyli commented Apr 3, 2021

  • Fix the support to pass an empty dict as schema for 204 response.
  • Do not add content into spec for 204 response.
  • Fix type annotation for schema and auth object.

Fix #11

greyli added 4 commits April 3, 2021 18:00
Do not include content key for 204 response in spec
Fix URL in the docstring of auth_required decorator
Revert this commit when the next version released
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.

Using empty dict as schema in output decorator causes AttributeError: 'dict' object has no attribute 'many'

1 participant