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

Make read_only work with references using AllOf #3082

Merged
merged 1 commit into from
Dec 21, 2022

Commits on Dec 21, 2022

  1. Make read_only work with references using AllOf

    As described here:
    
    grpc-ecosystem#1137
    
    This partially reverts the recent commit:
    
    a0fe8d7
    
    Which doesn't solve the problem for read_only being set on the field.
    
    This feature will require setting the "use_allof_for_refs" to true
    since this breaks existing compatibility with swagger-codegen generated
    files from the AllOf'd schema - type is now "object" and not $ref.
    
    Test added + ReDoc now works with read_only message/enum fields.
    same-id committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    d3cc84a View commit details
    Browse the repository at this point in the history