boyney123 / boyney123/mockit

Support OpenAPI Specifications for Mocking

Open
#5 2 comments 7 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.6k
Forks
78
PR merge metrics
No merged PRs in 30d

Description

What you did:
See of opeanpi/swagger specs were supported.

What happened:
OpenAPI v2 (Swagger) and OpenAPI v3 are not supported.

Problem description:

Suggested solution:

Add support for serving openapi v2 (swagger) and openapi v3 specifications. A lot of people already use openapi v2/3 to document and provide examples for their apis. There is a lack of good mocking tools around openapi, it'd be great if mockit supported serving an openapi specification. Supporting both versions of the OpenAPI format (v2/v3) would be ideal as a large amount of tooling and specs already exist around v2 (formerly swagger).

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by mapping mockit’s existing endpoint-serving entry point and how it handles API definitions. Define what support for OpenAPI v2 (Swagger) and v3 means for serving specifications, then verify both formats are accepted and usable for mocking.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, openapi
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.