Skip to content

Update devproxy-plugin-generic-random-error-file snippet #126

@garrytrinder

Description

@garrytrinder

Update the errors plugin to match the new schema

{ "$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/genericrandomerrorplugin.schema.json", "errors": [ { "request": { "url": "https://api.contoso.com/*" }, "responses": [ { "statusCode": 500, "headers": [ { "name": "content-type", "value": "application/json; charset=utf-8" } ], "body": { "code": "InternalServerError", "message": "Something went wrong" } } ] } ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions