mikelgoig/codeception-openapi 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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