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

Customizable schema generator classes #5082

Merged
merged 2 commits into from Apr 18, 2017

Conversation

akx
Copy link
Contributor

@akx akx commented Apr 18, 2017

Description

This PR makes it possible to override which SchemaGenerator class is used, both in Routers and the browseable documentation.

I have a slightly extended/improved SchemaGenerator in my project, but actually using it means having to copy-paste code since the class is not currently injectable.

@akx akx force-pushed the customizable-schema-generator branch from dae947e to 53f48d1 Compare April 18, 2017 11:14
@tomchristie tomchristie added this to the 3.6.3 Release milestone Apr 18, 2017
@tomchristie
Copy link
Member

Sure. Seems worthwhile.
I'm okay with this being a bit of undocumented extra API for now, too.

@tomchristie tomchristie merged commit 8f6173c into encode:master Apr 18, 2017
@akx akx deleted the customizable-schema-generator branch April 18, 2017 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants