Skip to content
Snippets Groups Projects
Commit c729ef8e authored by Michael Schmitz's avatar Michael Schmitz Committed by Caleb Cartwright
Browse files

Adjust new [swagger] endpoint (#4193)

* Change to new Url supporting OAS 3

* Change to new URL
parent 0cb19e69
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ module.exports = class SwaggerValidatorService extends BaseJsonService {
}
async fetch({ scheme, urlF }) {
const url = 'http://online.swagger.io/validator/debug'
const url = 'http://validator.swagger.io/validator/debug'
return this._requestJson({
url,
schema: validatorSchema,
......
'use strict'
const getURL = '/https/example.com/example.json.json'
const apiURL = 'http://online.swagger.io'
const apiURL = 'http://validator.swagger.io'
const apiGetURL = '/validator/debug'
const apiGetQueryParams = { url: 'https://example.com/example.json' }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment