Adjust new [swagger] endpoint (#4193)
* Change to new Url supporting OAS 3 * Change to new URL
This commit is contained in:
committed by
Caleb Cartwright
parent
0cb19e692b
commit
c729ef8ece
@@ -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,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'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' }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user