Skip to content

Conversation

zircote
Copy link
Owner

@zircote zircote commented Apr 25, 2013

This is to seek feedback from the community on the work @bfanger has contributed, it appears to be stabil and would like to get his input as well as others that are utilising the library before moving it to master.

@ghost ghost assigned bfanger Apr 25, 2013
@bfanger
Copy link
Collaborator

bfanger commented May 4, 2013

To install the 0.6 version with composer use "0.6.*@dev":

{
    "require": {
       "zircote/swagger-php": "0.6.*@dev"
    }
}

bfanger and others added 3 commits May 5, 2013 00:33
Properties are similar to ReflectionClass->getProperties, but instead of matching on $object->property_name the properties are matched on @Property(name=)
@iautom8things
Copy link

Hey Bob, thank you for your response.

I'm having issues trying to use this, still. But I'll warn you that I am most likely doing something fundamentally wrong, or I'm expecting something that I shouldn't.

I was having issues running swagger on my own project, so I tried to drop down to something very simple:

I installed swagger-php from your suggest composer.json file. I copied example code from the swagger-php docs.

I then ran vendor/bin/swagger -p . -e vendor -f which produced this error.

I attempted to fix this by removing the third param which produced another error.

I fixed that error and now swagger says it cannot find valid sources.

Do you have any insight on this? Thank you for your time!

My setup:
Mac OS 10.8.3
Composer 1.0.0-alpha6 (From HomeBrew)
PHP 5.4.14 (From HomeBrew)

bfanger added 2 commits May 9, 2013 10:16
reformatted + updated to 0.6
@bfanger bfanger merged commit 21be9d0 into master May 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants