Merge branch 'master' into feature/request-url
This commit is contained in:
1
dist/index.html
vendored
1
dist/index.html
vendored
@@ -76,6 +76,7 @@ window.onload = function() {
|
|||||||
const ui = SwaggerUIBundle({
|
const ui = SwaggerUIBundle({
|
||||||
url: "http://petstore.swagger.io/v2/swagger.json",
|
url: "http://petstore.swagger.io/v2/swagger.json",
|
||||||
dom_id: '#swagger-ui',
|
dom_id: '#swagger-ui',
|
||||||
|
deepLinking: true,
|
||||||
presets: [
|
presets: [
|
||||||
SwaggerUIBundle.presets.apis,
|
SwaggerUIBundle.presets.apis,
|
||||||
SwaggerUIStandalonePreset
|
SwaggerUIStandalonePreset
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export const authorizePassword = ( auth ) => ( { authActions } ) => {
|
|||||||
let { schema, name, username, password, passwordType, clientId, clientSecret } = auth
|
let { schema, name, username, password, passwordType, clientId, clientSecret } = auth
|
||||||
let form = {
|
let form = {
|
||||||
grant_type: "password",
|
grant_type: "password",
|
||||||
scopes: encodeURIComponent(auth.scopes.join(scopeSeparator))
|
scope: encodeURIComponent(auth.scopes.join(scopeSeparator))
|
||||||
}
|
}
|
||||||
let query = {}
|
let query = {}
|
||||||
let headers = {}
|
let headers = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user