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

docs: Fix incorrect argument name in OpenApi ResponseSpec example #3017

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

korneevm
Copy link
Contributor

There is an incorrect argument name in the ResponseSpec example in the docs. ResponseSpec has no model arg, so when I tried to use this example I got TypeError: ResponseSpec.__init__() got an unexpected keyword argument 'model' exception.
The correct arg name seems to be data_container, so I've updated the docs accordingly.

@korneevm korneevm requested review from a team as code owners January 24, 2024 04:53
Copy link
Contributor

@Alc-Alc Alc-Alc left a comment

Choose a reason for hiding this comment

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

🙂

@provinzkraut
Copy link
Member

Thanks @korneevm!

@provinzkraut
Copy link
Member

@all-contributors add @korneevm for docs

Copy link
Contributor

@provinzkraut

I've put up a pull request to add @korneevm! 🎉

@provinzkraut provinzkraut merged commit bfeb5e9 into litestar-org:main Jan 24, 2024
16 checks passed
Copy link

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3017

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.

3 participants