Skip to content

Commit

Permalink
fix(authentication-jwt): correct the scheme name
Browse files Browse the repository at this point in the history
  • Loading branch information
jannyHou committed May 22, 2020
1 parent 4e5a737 commit 4565c4e
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
// License text available at https://opensource.org/licenses/MIT

import {bind} from '@loopback/core';
import {
asSpecEnhancer,
mergeOpenAPISpec,
OASEnhancer,
OpenApiSpec,
ReferenceObject,
SecuritySchemeObject,
} from '@loopback/openapi-v3';
import {asSpecEnhancer, mergeOpenAPISpec, OASEnhancer, OpenApiSpec, ReferenceObject, SecuritySchemeObject} from '@loopback/openapi-v3';
import debugModule from 'debug';
import {inspect} from 'util';
const debug = debugModule('loopback:jwt-extension:spec-enhancer');
Expand All @@ -28,7 +21,7 @@ export const OPERATION_SECURITY_SPEC = [
];

export const SECURITY_SCHEME_SPEC: SecuritySchemeObjects = {
bearerAuth: {
jwt: {
type: 'http',
scheme: 'bearer',
bearerFormat: 'JWT',
Expand Down

0 comments on commit 4565c4e

Please sign in to comment.