Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
shields
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
shields.io
shields
Commits
c729ef8e
Commit
c729ef8e
authored
5 years ago
by
Michael Schmitz
Committed by
Caleb Cartwright
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
services/swagger/swagger.service.js
+1
-1
1 addition, 1 deletion
services/swagger/swagger.service.js
services/swagger/swagger.tester.js
+1
-1
1 addition, 1 deletion
services/swagger/swagger.tester.js
with
2 additions
and
2 deletions
services/swagger/swagger.service.js
+
1
−
1
View file @
c729ef8e
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
services/swagger/swagger.tester.js
+
1
−
1
View file @
c729ef8e
'
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
'
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment