You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php bin/swagger Examples/swagger-spec/petstore-with-external-docs/ -o petstore.json
Swagger-PHP 2.0.6
-----------------
[INFO] Unexpected field "a" for @SWG\Definition(), expecting "definition", "ref", "title", "description", "maxProperties", "minProperties", "required", "properties", "type", "format", "items", "collectionFormat", "default", "maximum", "exclusiveMaximum", "minimum", "exclusiveMinimum", "maxLength", "minLength", "pattern", "maxItems", "minItems", "uniqueItems", "enum", "multipleOf", "discriminator", "readOnly", "xml", "externalDocs", "example", "allOf", "additionalProperties", "x" in \PetWithDocsController->addPet() in Examples/swagger-spec/petstore-with-external-docs/\controllers\PetWithDocsController.php on line 9
[INFO] Unexpected field "l" for @SWG\Definition(), expecting "definition", "ref", "title", "description", "maxProperties", "minProperties", "required", "properties", "type", "format", "items", "collectionFormat", "default", "maximum", "exclusiveMaximum", "minimum", "exclusiveMinimum", "maxLength", "minLength", "pattern", "maxItems", "minItems", "uniqueItems", "enum", "multipleOf", "discriminator", "readOnly", "xml", "externalDocs", "example", "allOf", "additionalProperties", "x", "a" in \PetWithDocsController->addPet() in Examples/swagger-spec/petstore-with-external-docs/\controllers\PetWithDocsController.php on line 9
get /pets
post /pets
get /pets/{id}
delete /pets/{id}
-----------------------
4 operations documented
-----------------------
[NOTICE] Undefined index: a in C:\temp\swagger-php\src\Annotations\AbstractAnnotation.php on line 249
[NOTICE] Undefined index: l in C:\temp\swagger-php\src\Annotations\AbstractAnnotation.php on line 249
Written to C:\temp\swagger-php\petstore.json
- Beter validation of type="file" #305
- Augment Operations summary and description based on the comment. #293
- Bugfixes #300
- Add support for xml (and externalDocs and properties) inside a @swg\Items. #279
- Nested properties are no longer injected into the Definition #297
- Fixed nesting issue with verbose property notation #297
from this commit:
e58584c
getting warnings:
cc: @bfanger
The text was updated successfully, but these errors were encountered: