authorjapps/zerocode

Support OpenAPI Specification

Open

#195 opened on Jan 24, 2019

View on GitHub
 (23 comments) (4 reactions) (1 assignee)Java (447 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (1,010 stars)
PR merge metrics
 (PR metrics pending)

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.
  • 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:

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

Contributor guide