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

Add callback model #861

Merged
merged 3 commits into from
Aug 28, 2018
Merged

Add callback model #861

merged 3 commits into from
Aug 28, 2018

Commits on Aug 23, 2018

  1. Add callback model (OpenAPITools#372)

    This adds a new `CodegenCallback` class, a list of which is now present in
    `CodegenOperation`. `CodegenOperation` now also includes a
    `isCallbackRequest` boolean since `fromCallback()` (the method added to
    `DefaultCodegen` to process operations which contain OpenAPI callbacks)
    uses CodegenOperation as the model for a callback request.
    
    A `CodegenOperation` which represents a callback request will have a
    `null` operation id.
    
    A test is included for this new model.
    devplayer0 committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    3701e8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b6bdfc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffe6338 View commit details
    Browse the repository at this point in the history