authorjapps / authorjapps/zerocode

Support OpenAPI Specification

Open
#195 23 comments 4 reactions 1 assignee Claimed by @javiertuya View on GitHub
good first issue help wanted
Dominant language
Java
Stars
1k
Forks
453
Avg merge
7d 2h
Merged PRs (30d)
5

Description

It would be nice if we can support Open API Spec in terms of generating zero code tests directly from api spec.

Add more details what all can be supported in the library in context of open spec.

Open Spec reference
https://github.com/OAI/OpenAPI-Specification

Edited (2024-10-27):
Create a **Proof of Concept**:

- **AC1:** Generate the required Zerocode scenarios/steps to cover all paths, operations and schemas of the [Swagger Petstore](https://github.com/swagger-api/swagger-petstore).
- **AC2:** Use zerocode tokens (e.g. `${RANDOM.STRING:10}`) as the generated random values.
- **AC3:** Implement in a separate module (e.g. `zerocode-openapi`).

Tasks:
- [x] Generate the scenarios/steps covering the most common features in the petstore spec without errors.
- [x] Complete the generator to support all petstore spec features.
- [x] E2E test against the real API and fix the issues that will appear.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.