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

[Elixir] Improve Elixir client #6550

Merged
merged 5 commits into from
Sep 28, 2017
Merged

Commits on Sep 22, 2017

  1. Configuration menu
    Copy the full SHA
    495314b View commit details
    Browse the repository at this point in the history
  2. Better elixir client generation.

    Responses are parsed and serialized by Poison into the model structs.
    Use shared helper functions to generate the request.
    Extract client connection configuration from api calls.
    
    Elixir client can sanitize the operationId
    
    Correctly output the model variables. Fix typos
    
    Fix path replacement when there are multiple replacements
    
    Cannot separate globally shared parameters from operations
    
    Error handling for the tesla response
    
    update templates
    
    Can generate clients that compile
    
    Can make requests - parse optional params, build query
    
    Add oauth to connection. Fix connection directory
    
    Add basic auth helper for creating a connection
    
    Fix map types. Fix guard clauses for creaing connections
    
    Add licenceInfo template. Parse config for moduleName via standard invokerPackage option
    
    Can provide and inject a license header into all source files
    
    fix location of connection.ex
    
    Move shared code into reusable modules
    
    Elixir filenames should be underscored
    
    Fix visibility of helper functions
    
    Parse the packageName from config options
    
    Handle date and datetime fields with DateTime.from_iso8601
    
    Fix indentation
    
    Update documentation, add typespecs
    
    Generate a standard elixir .gitignore
    
    typespec is calculated recursively in java
    
    Use the JSON middleware and using Poison.Decoder.decode on already parsed structs
    
    move decoded struct into java
    
    Fix handling of non-json responses
    
    Switch basic auth to use the provided Tesla.Middleware.BasicAuth
    
    Update README template to include the appDescription
    
    Update sample elixir client
    
    remove junk client models that don't belong with petstore
    
    Only implement Poison.Decoder protocol if needed
    
    Update samples with skipped Poison.Deocder impl
    chingor13 committed Sep 22, 2017
    Configuration menu
    Copy the full SHA
    e471d4e View commit details
    Browse the repository at this point in the history
  3. Handle multipart file uploads

    Handle building form params in the body
    
    Files are handled as strings for input
    chingor13 committed Sep 22, 2017
    Configuration menu
    Copy the full SHA
    6d6e5a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a432ed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    db681f4 View commit details
    Browse the repository at this point in the history