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

[python-exp] simplify examples #7157

Merged

Commits on Aug 19, 2020

  1. Adds example setting code in python-experimental with one fn setting …

    …example values
    
    Fixes sample indentations
    
    Handles composed schema models, object model and arraymodels
    
    Adds brackets in arraymodel input
    
    Sets modelName with map schemas
    
    Removes included_schemas arguments, dicriminator examples do not include property examples
    
    Refactors modelName into toExampleValueRecursive argument
    
    Fixes bug where example models contained themselves
    
    Stops using model ExampleGenerator examples because they are inconsistent with the ones in python-experimental
    
    Uses example values if they exist
    
    Removes single quotes from enum examples
    
    Fixes password example
    
    Adds commented our regex handling, commented out because it breaks
    
    Handles AnyType schema examples
    
    Adds x_example values for simple string properties, uses toExampleValue for all example generation
    
    Adds examples for simple string parameters
    
    Updates comments in toExampleValueBase
    
    Fixes the double nested bug for AdditionalPropertiesWithArrayOfEnums
    
    Fixes bug where NumberWithValidations had double nesting
    
    Updates simple string examples in arrays
    
    Fixes array string examples
    
    Fixes example for string endpoint body example
    
    Adds exampleFromStringOrArraySchema
    
    Adds regex examples, pegs slf4j-version to v1.7.29 for rgxgen
    
    Adds comment about regex seed
    
    Updates pattern matcher to not handle ^ and $
    
    Updates used sample values
    
    Adds ensureQuotes
    
    Adds ensureQuotes
    
    Fixes double quote bug
    
    Updates mustache file
    
    Adds ensureQuotes to key handling
    
    Adds modelNameToSchema map, reduces run time by using it
    
    Fixes java tests
    
    Regenerates python-experimental samples
    
    Fixes python test
    spacether committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    24aad07 View commit details
    Browse the repository at this point in the history
  2. Rebased on master

    spacether committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    dcf0f09 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa5ac8b View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2020

  1. Configuration menu
    Copy the full SHA
    5a4469b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    412db5d View commit details
    Browse the repository at this point in the history
  3. Samples regenerated

    spacether committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    69e7cc5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3512663 View commit details
    Browse the repository at this point in the history