定制 mikelgoig/codeception-openapi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mikelgoig/codeception-openapi

最新稳定版本:2.2.1

Composer 安装命令:

composer require --dev mikelgoig/codeception-openapi

包简介

Codeception module for contract testing with OpenAPI.

README 文档

README

Codeception Module for contract testing with OpenAPI

Created by Mikel Goig.

View Repository

Packagist Version Packagist Downloads Packagist PHP Version

This Codeception module provides you with actions to validate API requests and responses with an OpenAPI Specification.

It requires REST and Symfony modules.

It supports Gherkin format.

😎 Installation

  1. Install this package using Composer:

    composer require --dev mikelgoig/codeception-openapi

🛠️ Configuration

  1. Add the Codeception module to your config file:

    modules:
      enabled:
        - MikelGoig\Codeception\Module\OpenApi:
            depends: [ REST, Symfony ]
            openapi: path/to/openapi.yaml
            multipart_boundary: foo
    • openapi - the path of the OpenAPI file
    • multipart_boundary optional - the boundary parameter for multipart requests
  2. To set up Gherkin steps, enable the gherkin part of the module:

    modules:
      enabled:
        - MikelGoig\Codeception\Module\OpenApi:
            # ...
            part: gherkin

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固