没有合适的资源?快使用搜索试试~ 我知道了~
swagger-assert:启用断言 swagger 文档密钥和 API 响应
共62个文件
php:51个
json:5个
yml:2个
需积分: 10 0 下载量 181 浏览量
2021-06-13
17:29:08
上传
评论
收藏 47KB ZIP 举报
温馨提示
大摇大摆的断言 启用断言 swagger 1.2 文档密钥和 API 响应。 对于 Swagger 2,请查看 安装 作曲家 "require-dev" : { "gong023/swagger-assert" : "dev-master" } 需要 PHP5.4+ 用法 示例 API 示例 API 如下。 Swagger-assert 使您能够断言/plain响应具有 swagger 键id , name 。 /** * @SWG\Resource( * resourcePath="plain", * @SWG\Api( * path="/plain", * description="plain api structure", * @SWG\Operation( *
资源推荐
资源详情
资源评论
收起资源包目录
swagger-assert-master.zip (62个子文件)
swagger-assert-master
.gitignore 27B
src
Exception
AnnotationException.php 168B
ResponseException.php 154B
CompareException.php 155B
Compare
CompareResponseAndAnnotation.php 2KB
Annotation
Resources
Resource.php 1KB
Resource
Apis
Api.php 508B
Api
Operations
Operation.php 2KB
Operation
Parameters
Parameter.php 713B
Parameters.php 762B
ResponseMessages.php 798B
ResponseMessages
ResponseMessage.php 479B
Operations.php 1KB
Apis.php 1KB
Models.php 2KB
Models
Model
Properties.php 747B
Properties
Property.php 2KB
Property
Items.php 192B
Model.php 1KB
Individual.php 1KB
Resources.php 3KB
Collection.php 891B
Annotation.php 1KB
SwaggerAssert.php 2KB
Response.php 3KB
CompareInterface.php 349B
PickInterface.php 420B
Container
Actual.php 158B
Expected.php 164B
Pick
PickResponseAndAnnotation.php 1019B
Container.php 1017B
.travis.yml 360B
composer.json 804B
README.md 3KB
.coveralls.yml 45B
tests
SwaggerAssertTest
Compare
CompareResponseAndAnnotationTests.php 851B
CompareResponseAndAnnotation
AbnormalCaseTest.php 1KB
NormalCaseTest.php 2KB
ContainerTest.php 1KB
Annotation
ResourcesTest.php 3KB
Resources
Resource
Apis
ApiTest.php 728B
Api
Operations
Operation
ResponseMessagesTest.php 1015B
Parameters
ParameterTest.php 917B
ResponseMessages
ResponseMessageTest.php 816B
ParametersTest.php 959B
OperationTest.php 1KB
OperationsTest.php 873B
ApisTest.php 996B
ModelsTest.php 2KB
Models
ModelTest.php 1KB
Model
PropertiesTest.php 840B
Properties
Property
.gitkeep 0B
PropertyTest.php 837B
ResourceTest.php 1KB
TestBase.php 367B
ResponseTest.php 2KB
Pick
PickResponseAndAnnotationTest.php 1KB
fixture
analyzedDataCollection.json 2KB
analyzedDataSimple.json 2KB
analyzedDataModelListAndHash.json 3KB
analyzedDataModelNested.json 5KB
phpunit.xml.dist 638B
共 62 条
- 1
资源评论
JinTommy
- 粉丝: 39
- 资源: 4550
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功