Skip to content

Commit

Permalink
remove legacy param names
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Apr 10, 2023
1 parent dcf8d8c commit 765ca92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions core/base-service/openapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function category2openapi(category, services) {
in: 'query',
required: false,
description:
'Background color of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorA" is also supported.',
'Background color of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported).',
schema: {
type: 'string',
},
Expand All @@ -291,7 +291,7 @@ function category2openapi(category, services) {
in: 'query',
required: false,
description:
'Background color of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorB" is also supported.',
'Background color of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported).',
schema: {
type: 'string',
},
Expand All @@ -302,7 +302,7 @@ function category2openapi(category, services) {
in: 'query',
required: false,
description:
'HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored). The legacy name "maxAge" is also supported.',
'HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored).',
schema: {
type: 'string',
},
Expand Down
6 changes: 3 additions & 3 deletions core/base-service/openapi.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const expected = {
in: 'query',
required: false,
description:
'Background color of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorA" is also supported.',
'Background color of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported).',
schema: { type: 'string' },
example: 'abcdef',
},
Expand All @@ -129,7 +129,7 @@ const expected = {
in: 'query',
required: false,
description:
'Background color of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorB" is also supported.',
'Background color of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported).',
schema: { type: 'string' },
example: 'fedcba',
},
Expand All @@ -138,7 +138,7 @@ const expected = {
in: 'query',
required: false,
description:
'HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored). The legacy name "maxAge" is also supported.',
'HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored).',
schema: { type: 'string' },
example: '3600',
},
Expand Down

0 comments on commit 765ca92

Please sign in to comment.