Permalink
Commits on Jul 9, 2015
  1. Merge pull request #1 from datasift/feature/versioning

    nathanmac committed Jul 9, 2015
    Versioning support for swagger php
  2. Adding versioning flag

    nathanmac committed Jul 9, 2015
Commits on Jul 4, 2015
  1. Release 2.0.0

    bfanger committed Jul 4, 2015
    - Generates swagger.json with Swagger Specification v2
    - New simplified architecture (crawl -> analysis -> processors -> validation -> output)
  2. Added dependency-injection to Swagger\scan()

    bfanger committed Jul 4, 2015
    Allows a ReflectionAnalyser  #214
  3. Changed required "symfony/finder" to "*"

    bfanger committed Jul 4, 2015
    Fixes #222
Commits on Jun 26, 2015
Commits on Jun 19, 2015
Commits on Jun 5, 2015
  1. Improved docs

    bfanger committed Jun 5, 2015
Commits on May 29, 2015
  1. Get the 'exclude' param working as it should

    xiehan authored and bfanger committed May 14, 2015
    Fixes #216 and allows both relative and absolute exclude paths.
Commits on May 8, 2015
  1. Refactored Parser & Swagger::crawl

    bfanger committed May 8, 2015
    Split Parser in Analyser & StaticAnalyser see #214
    Extracted logic from Swagger->crawl() into factory method `Swagger\buildFinder()`
Commits on May 2, 2015
  1. Change coding style to match PSR-2

    mpajunen authored and bfanger committed Apr 27, 2015
    - PHP CS Fixer run using level psr2
    - Use PSR-4 for tests
Commits on Apr 27, 2015
  1. Generate http://petstore.swagger.io/v2/swagger.json

    bfanger committed Apr 27, 2015
    Added missing json-schema properties
  2. Moved processors into \Swagger\Processing allowing easy registration …

    bfanger committed Apr 27, 2015
    …of custom processors.
    
    Closes #183
Commits on Apr 25, 2015
  1. Style fixes #210

    mpajunen authored and bfanger committed Apr 23, 2015
    * Fix DocBlocks and typos
    * Fix use statements
    * Add missing, remove unused, always use FQCN
    * Remove duplicate array item
    * Always use short array syntax
    * Remove extra return statements
  2. Use the @swg\Parameter()->name as keyfield (@swg\Parameter()->paramet…

    bfanger committed Apr 25, 2015
    …er) when used in @swg\Swagger->parameters
    
    Closes #206
  3. Detect deprecated annotations and link to the migration guide.

    bfanger committed Apr 25, 2015
    So instead of
    '@Swagger\Annotations\Resource" does not exist, or could not be auto-loaded'
    you''ll get:
    The annotation @swg\Resource() is deprecated. Found in ... For more information read the migration guide: https://github.com/zircote/swagger-php/blob/2.x/docs/Migrating-to-v2.md
    
    Fixes #209
Commits on Apr 24, 2015
  1. Refactored annotation to object mapping

    bfanger committed Apr 24, 2015
    ## Object vs Array not based on $_key but on $_nested
    Allows an annotation class to be nested as both array and object. (Fixes #206)
    
    ## New uniform naming convention: The name of the annotation is used as objectkey.
    Because the "name" field was already in use by some annotations.
    Examples: @swg\Parameter(parameter="my_param") @swg\Definition(definition="MyDefinition") @swg\Response(response="200")
Commits on Apr 17, 2015
Commits on Apr 13, 2015
Commits on Apr 12, 2015
  1. Automatic $ref for @swg\Property based on "@var MyClass" and "@var My…

    bfanger committed Apr 12, 2015
    …Class[]" annotations.
Commits on Apr 11, 2015
  1. Fix a few typos

    svemir committed Apr 11, 2015
Commits on Apr 2, 2015
Commits on Mar 27, 2015
  1. [bin/swagger] Changed default output to "./swagger.json"

    bfanger committed Mar 27, 2015
    Added --stdout option for previous behavior
    Implemented custom error handling for cleaner cli output.
  2. Renamed field "name" to "status" for @swg\Response() and added valida…

    bfanger committed Mar 27, 2015
    …tion.
    
    Prevents misspelling of the response #202
  3. Don't add unnecessary slashes. #202

    bfanger committed Mar 27, 2015
    [JSON_UNESCAPED_SLASHES sadly isn't the default behavior](https://bugs.php.net/bug.php?id=49366)
Commits on Mar 13, 2015
  1. Skip CLI tests on HHVM

    bfanger committed Mar 13, 2015
  2. Implemented type validation

    bfanger committed Mar 13, 2015
  3. Unittest for swagger cli

    bfanger committed Mar 13, 2015