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

Added schema definitions, responses, support to JWT auth, Swagger UI and Docker environment #24

Merged
merged 60 commits into from
Feb 17, 2020

Commits on Jan 17, 2020

  1. chore: adds docker container with php7.4

    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    1b7f7b2 View commit details
    Browse the repository at this point in the history
  2. feat: adds generator to swagger definitions section

    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    aa4fe6c View commit details
    Browse the repository at this point in the history
  3. style: removes extra "\" from test routes definitions

    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    d9f6b04 View commit details
    Browse the repository at this point in the history
  4. feat: changes php version according to travis ci definitions

    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    0d8fe42 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. refactor: adds action extraction methods to Route class

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    d257c3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    605958d View commit details
    Browse the repository at this point in the history
  3. refactor: disables generate definition example

    Samuel committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    fb2482a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71c1b4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ae6f11 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    833a448 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ba07e5a View commit details
    Browse the repository at this point in the history
  8. docs: updates docs details

    Samuel committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    6c82814 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. feat: adds factory to generate example field on parameters.

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    805dddd View commit details
    Browse the repository at this point in the history
  2. feat: fixes form request name class extraction

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    947efec View commit details
    Browse the repository at this point in the history
  3. feat: adds view to show swagger docs

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    f979832 View commit details
    Browse the repository at this point in the history
  4. feat: adds swagger ui dependency

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    ebce3da View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. feat: adds swagger ui route and view

    Changes the configs to generate and show Swagger UI to many API versions.
    Changes the generate swagger docs command to generate the swagger files
    to specific versions on public folder to access from SwaggerUI.
    
    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    23e6c82 View commit details
    Browse the repository at this point in the history
  2. test: adds tests to GenerateSwaggerDocCommand

    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    7d6aec3 View commit details
    Browse the repository at this point in the history
  3. refactor: changes to filter routes before generate docs

    Co-authored-by: Odilon Garcez <[email protected]>
    Co-authored-by: Alan Christian <[email protected]>
    3 people committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    75d59ad View commit details
    Browse the repository at this point in the history
  4. docs: changes generate swagger command usage

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    5e11250 View commit details
    Browse the repository at this point in the history
  5. feat: adds routes versions to swagger ui view

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    e6ee2bc View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. feat: adds select to choose api version on Swagger UI

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    36ddef3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c90c3fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed5a2ad View commit details
    Browse the repository at this point in the history
  4. feat: adds cast to array on get throws from route docblock

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    2029b79 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. feat: adds handlers to generate definitions to error responses

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    bd7637c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c7d5e4f View commit details
    Browse the repository at this point in the history
  3. chore: adds xdebug to Dockerfile

    Samuel committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    404da85 View commit details
    Browse the repository at this point in the history
  4. test: adds tests to return of getAppends method

    Samuel committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    1a8e175 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f825f0 View commit details
    Browse the repository at this point in the history
  6. test: adds test when find not existent version

    Samuel committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    56a4658 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. feat: adds swagger file name generator to make it more automatic

    The swagger file name don't will be defined on laravel-swagger
    config. The file name will be generated automatically by a
    generator that can overwritten.
    Samuel committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    f82c559 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c5979c View commit details
    Browse the repository at this point in the history
  3. style: fixes return type from getModel method

    Samuel committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    91ed0b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f109f0c View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. feat: adds jwt security definitions generator

    Change security definitions generator structure to allows jwt and
    oauth2.
    
    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    1ac2f44 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. fix: fixes to get all middleware registered for action

    Only the middleware registered on routes was got. Change
    to get too the middleware registered on Controller.
    
    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    2a2cfb6 View commit details
    Browse the repository at this point in the history
  2. test: adds test for route

    Checks middleware registered on route or controller or both.
    
    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    29d3b44 View commit details
    Browse the repository at this point in the history
  3. fix: removes output parameter from command

    The laravel-swagger:generate command will generate the files
    on public path by default. The docs will available on /docs
    routes. In this moment isn't necessary define the output file
    directory.
    
    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    3e11718 View commit details
    Browse the repository at this point in the history
  4. feat: add trait to use when the model has appends

    The appends will be used to return model data on the response
    
    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    81365ca View commit details
    Browse the repository at this point in the history
  5. docs: adds info and examples how to use the laravel swagger

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    83492bc View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. test: fixes passport routes calling

    Co-authored-by: Odilon Garcez <[email protected]>
    Samuel and bc05 committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    ea54419 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5716e27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a99a9d4 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Configuration menu
    Copy the full SHA
    8d87fee View commit details
    Browse the repository at this point in the history
  2. feat: removes param --all-versions from command

    The param --api-version with value "*" will be used instead of --all-versions
    flag. Removes no more needed `defaultVersion` config.
    Resolves the following conversations:
    mtrajano#24 (comment)
    mtrajano#24 (comment)
    sfelix-martins committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    5e25242 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea2a76e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    344187d View commit details
    Browse the repository at this point in the history
  5. refactor: removes alias to check if can generate definitions

    Resolves the following conversations:
    mtrajano#24 (comment)
    sfelix-martins committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    b8ee2e7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c6e83a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. conflict fix

    mtrajano committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    2964244 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. Configuration menu
    Copy the full SHA
    bad6685 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. more clean up and tests

    mtrajano committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    316215d View commit details
    Browse the repository at this point in the history
  2. more fixes and tests

    mtrajano committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    46a4254 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    0ab8825 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd5e5e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Configuration menu
    Copy the full SHA
    9f8aa0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    511eda6 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. fixed documentation

    mtrajano committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    428989e View commit details
    Browse the repository at this point in the history
  2. skipping flaky tests for now

    mtrajano committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    77b52ce View commit details
    Browse the repository at this point in the history