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

Added handling for description in model definitions #93

Merged
merged 1 commit into from Oct 13, 2016

Conversation

@martinlatrille
Copy link
Contributor

commented Oct 12, 2016

Allow to set a description when declaring a definition of a Schema (as described here).

spec.definition(
    'Pet',
    schema=PetSchema,
    description="An animal which lives with humans."
)
"Pet": {
    "description": "An animal which lives with humans.",
    "properties": {...},
    ...
}
@sloria

This comment has been minimized.

Copy link
Member

commented Oct 13, 2016

Looks good. Thanks!

@sloria sloria merged commit c136f77 into marshmallow-code:dev Oct 13, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@martinlatrille martinlatrille deleted the gorgias:definition-description branch Oct 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.