@@ -29,7 +29,7 @@ router.get('/registryOrg',
2929 description: 'A list of all registry organizations, along with pagination fields if results span multiple pages of data',
3030 content: {
3131 "application/json": {
32- schema: { $ref: '../schemas/registry-org/get -registry-org -response.json' }
32+ schema: { $ref: '../schemas/registry-org/list -registry-orgs -response.json' }
3333 }
3434 }
3535 }
@@ -101,7 +101,7 @@ router.get('/registryOrg/:identifier',
101101 description: 'The requested registry organization information is returned',
102102 content: {
103103 "application/json": {
104- schema: { $ref: '../schemas/org/get-org-response.json' }
104+ schema: { $ref: '../schemas/registry- org/get-registry -org-response.json' }
105105 }
106106 }
107107 }
@@ -165,15 +165,15 @@ router.post('/registryOrg',
165165 required: true,
166166 content: {
167167 'application/json': {
168- schema: { $ref: '#/components/ schemas/CreateOrgPayload ' }
168+ schema: { $ref: '../ schemas/registry-org/create-registry-org-request.json ' }
169169 }
170170 }
171171 }
172172 #swagger.responses[201] = {
173173 description: 'The registry organization was successfully created',
174174 content: {
175175 "application/json": {
176- schema: { $ref: '../schemas/org/create-org-response.json' }
176+ schema: { $ref: '../schemas/registry- org/create-registry -org-response.json' }
177177 }
178178 }
179179 }
@@ -275,15 +275,15 @@ router.put('/registryOrg/:shortname',
275275 required: true,
276276 content: {
277277 'application/json': {
278- schema: { $ref: '#/components/ schemas/UpdateOrgPayload ' }
278+ schema: { $ref: '../ schemas/registry-org/update-registry-org-request.json ' }
279279 }
280280 }
281281 }
282282 #swagger.responses[200] = {
283283 description: 'The registry organization was successfully updated',
284284 content: {
285285 "application/json": {
286- schema: { $ref: '../schemas/org/update-org-response.json' }
286+ schema: { $ref: '../schemas/registry- org/update-registry -org-response.json' }
287287 }
288288 }
289289 }
@@ -395,7 +395,15 @@ router.delete('/registryOrg/:identifier',
395395 description: 'The registry organization was successfully deleted',
396396 content: {
397397 "application/json": {
398- schema: { $ref: '../schemas/org/delete-org-response.json' }
398+ schema: {
399+ type: 'object',
400+ properties: {
401+ message: {
402+ type: 'string',
403+ description: 'Message describing successful deletion operation'
404+ }
405+ }
406+ }
399407 }
400408 }
401409 }
@@ -465,7 +473,7 @@ router.get('/registryOrg/:shortname/users',
465473 description: 'Returns all users for the organization, along with pagination fields if results span multiple pages of data',
466474 content: {
467475 "application/json": {
468- schema: { $ref: '../schemas/user/list-users-response.json' }
476+ schema: { $ref: '../schemas/registry- user/list-registry -users-response.json' }
469477 }
470478 }
471479 }
@@ -539,15 +547,15 @@ router.post('/registryOrg/:shortname/user',
539547 required: true,
540548 content: {
541549 'application/json': {
542- schema: { $ref: '../schemas/user/create-user-request.json' },
550+ schema: { $ref: '../schemas/registry- user/create-registry -user-request.json' },
543551 }
544552 }
545553 }
546554 #swagger.responses[200] = {
547555 description: 'Returns the new user information (with the secret)',
548556 content: {
549557 "application/json": {
550- schema: { $ref: '../schemas/user/create-user-response.json' },
558+ schema: { $ref: '../schemas/registry- user/create-registry -user-response.json' },
551559 }
552560 }
553561 }
0 commit comments