File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ const build = (opts: buildOpts = {}): FastifyInstance => {
41
41
tags : [
42
42
{ name : 'object' , description : 'Object end-points' } ,
43
43
{ name : 'bucket' , description : 'Bucket end-points' } ,
44
+ { name : 'deprecated' , description : 'Deprecated end-points' } ,
44
45
] ,
45
46
} ,
46
47
} )
Original file line number Diff line number Diff line change @@ -116,18 +116,17 @@ export default async function routes(fastify: FastifyInstance) {
116
116
}
117
117
)
118
118
119
- // to be deprecated
120
119
fastify . get < getObjectRequestInterface > (
121
120
'/:bucketName/*' ,
122
121
{
123
122
// @todo add success response schema here
124
123
schema : {
125
124
params : getObjectParamsSchema ,
126
125
headers : { $ref : 'authSchema#' } ,
127
- summary :
128
- 'Deprecated ( use GET /object/authenticated/{bucketName} instead): Retrieve an object ',
126
+ summary : 'Get object (deprecated)' ,
127
+ description : ' use GET /object/authenticated/{bucketName} instead',
129
128
response : { '4xx' : { $ref : 'errorSchema#' } } ,
130
- tags : [ 'object ' ] ,
129
+ tags : [ 'deprecated ' ] ,
131
130
} ,
132
131
} ,
133
132
async ( request , response ) => {
You can’t perform that action at this time.
0 commit comments