Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
/ judge Public archive

Console app for adding x-example properties to a Swagger document

Notifications You must be signed in to change notification settings

raubreysmith/judge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Judge

Basic console app that adds x-example properties in a .json swagger document for use with Dredd for testing APIs

Usage

dotnet <path-to-os-dll> '<swaggerBaseUrl>' '<swaggerPath>' '<file-path-to-save-to>'
dotnet ./Judge/win10-x64/aubit.judge.dll 'http://petstore.swagger.io' 'v2/swagger.json' './swagger.json'

Results

Adds "x-example: " to

  • DELETE operations - "x-example: 3"
  • All other operations (GET, POST etc) - "x-example: 1" Where the parameter is a path parameter i.e. "in: path"

About

Console app for adding x-example properties to a Swagger document

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages