forked from microsoft/dev-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update default config (microsoft#443)
* Update default config * Shorten file name * Remove ProjectExtensions * Add global settings * Update plugin paths * Update default config * Shorten file name * Remove ProjectExtensions * Add global settings * Update plugin paths * Fix comments
- Loading branch information
1 parent
4232373
commit 7aa8af0
Showing
6 changed files
with
273 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/errors.schema.json", | ||
"responses": [ | ||
{ | ||
"statusCode": 400, | ||
"body": { | ||
"message": "Bad Request", | ||
"details": "The server cannot process the request due to invalid syntax." | ||
} | ||
}, | ||
{ | ||
"statusCode": 401, | ||
"body": { | ||
"message": "Unauthorized", | ||
"details": "The request requires user authentication." | ||
} | ||
}, | ||
{ | ||
"statusCode": 403, | ||
"body": { | ||
"message": "Forbidden", | ||
"details": "The server understood the request, but refuses to authorize it." | ||
} | ||
}, | ||
{ | ||
"statusCode": 404, | ||
"body": { | ||
"message": "Not Found", | ||
"details": "The requested resource could not be found." | ||
} | ||
}, | ||
{ | ||
"statusCode": 418, | ||
"body": { | ||
"message": "I'm a teapot", | ||
"details": "The server refuses the attempt to brew coffee with a teapot." | ||
} | ||
}, | ||
{ | ||
"statusCode": 429, | ||
"addDynamicRetryAfter": true, | ||
"body": { | ||
"message": "Too Many Requests", | ||
"details": "The user has sent too many requests in a given amount of time (\"rate limiting\")." | ||
} | ||
}, | ||
{ | ||
"statusCode": 500, | ||
"body": { | ||
"message": "Internal Server Error", | ||
"details": "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application." | ||
} | ||
}, | ||
{ | ||
"statusCode": 503, | ||
"body": { | ||
"message": "Service Unavailable", | ||
"details": "The server is currently unable to handle the request due to a temporary overload or maintenance. Please try again later." | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.