diff --git a/core/base-service/openapi.js b/core/base-service/openapi.js index 44f61242e9cdb..d9ae973c82ded 100644 --- a/core/base-service/openapi.js +++ b/core/base-service/openapi.js @@ -241,7 +241,7 @@ function category2openapi(category, services) { name: 'style', in: 'query', required: false, - description: 'If not specified, the defautl style is "flat".', + description: 'If not specified, the default style is "flat".', schema: { type: 'string', enum: ['flat', 'flat-square', 'plastic', 'for-the-badge', 'social'], diff --git a/core/base-service/openapi.spec.js b/core/base-service/openapi.spec.js index 7c97ed90a4a0b..04b01cca65877 100644 --- a/core/base-service/openapi.spec.js +++ b/core/base-service/openapi.spec.js @@ -88,7 +88,7 @@ const expected = { name: 'style', in: 'query', required: false, - description: 'If not specified, the defautl style is "flat".', + description: 'If not specified, the default style is "flat".', schema: { enum: ['flat', 'flat-square', 'plastic', 'for-the-badge', 'social'], type: 'string',