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

Rewrite schema generation #1

Merged
merged 16 commits into from
Dec 5, 2017
Merged

Rewrite schema generation #1

merged 16 commits into from
Dec 5, 2017

Conversation

axnsan12
Copy link
Owner

@axnsan12 axnsan12 commented Dec 1, 2017

Rewriting schema generation to skip the CoreAPI intermediate representation is the first step to being able to add more advanced Swagger features.

  • Define Swagger 2.0 object model
  • Reimplement SchemaGenerator
    • get_schema
    • get_links
  • Reimplement AutoSchema
    • field_to_schema
    • get_link
    • get_path_fields
    • get_serializer_fields
    • get_pagination_fields
    • get_filter_fields
  • Get back to feature parity with CoreAPI-based generation:
    • path listing
    • path parameters
    • at least first-level request body schemas
    • API call grouping/tagging by path prefix
    • filter & pagination parameters
  • Add assorted views to test project and write test cases for the functionality above

@axnsan12 axnsan12 self-assigned this Dec 1, 2017
@axnsan12 axnsan12 added the enhancement Enhancement proposal label Dec 1, 2017
axnsan12 added a commit that referenced this pull request Dec 2, 2017
@axnsan12 axnsan12 merged commit dce0015 into master Dec 5, 2017
@axnsan12 axnsan12 deleted the rewrite-schema-generation branch December 17, 2017 10:17
JoelLefkowitz pushed a commit that referenced this pull request Jul 18, 2022
Check for allow_null attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant