From 46e8c6835b961d129157ab45448d7704845c66ba Mon Sep 17 00:00:00 2001 From: Pedro Crespo <32402063+pcrespov@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:25:39 +0200 Subject: [PATCH] tags alphabetically --- api/specs/webserver/openapi.yaml | 16 -- .../api/v0/openapi.yaml | 138 ++++++++++++------ 2 files changed, 97 insertions(+), 57 deletions(-) diff --git a/api/specs/webserver/openapi.yaml b/api/specs/webserver/openapi.yaml index c433e8e42929..c19a3064d51d 100644 --- a/api/specs/webserver/openapi.yaml +++ b/api/specs/webserver/openapi.yaml @@ -23,22 +23,6 @@ servers: enum: - v0 default: v0 -tags: - - name: activity - - name: admin - - name: authentication - - name: catalog - - name: cluster - - name: configuration - - name: maintenance - - name: nih-sparc - - name: project - - name: publication - - name: repository - - name: storage - - name: tag - - name: tasks - - name: user paths: # ADMIN ------------- diff --git a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml index 86815c499d14..ae1835a8f597 100644 --- a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml +++ b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml @@ -23,22 +23,6 @@ servers: enum: - v0 default: v0 -tags: - - name: activity - - name: admin - - name: authentication - - name: catalog - - name: cluster - - name: configuration - - name: maintenance - - name: nih-sparc - - name: project - - name: publication - - name: repository - - name: storage - - name: tag - - name: tasks - - name: user paths: '/email:test': post: @@ -134,6 +118,78 @@ paths: type: object error: title: Error + /announcements: + get: + tags: + - announcements + summary: List Announcements + operationId: list_announcements + responses: + '200': + description: Successful Response + content: + application/json: + schema: + properties: + data: + items: + properties: + id: + type: string + title: Id + products: + items: + type: string + enum: + - osparc + - s4l + - s4llite + - tis + type: array + title: Products + start: + type: string + format: date-time + title: Start + end: + type: string + format: date-time + title: End + title: + type: string + title: Title + description: + type: string + title: Description + link: + type: string + title: Link + widgets: + items: + type: string + enum: + - login + - ribbon + - user-menu + type: array + title: Widgets + type: object + required: + - id + - products + - start + - end + - title + - description + - link + - widgets + title: Announcement + type: array + title: Data + error: + title: Error + type: object + title: 'Envelope[list[simcore_service_webserver.announcements._models.Announcement]]' /: get: tags: @@ -5919,54 +5975,54 @@ paths: content: application/json: schema: - title: 'Envelope[ProjectsCommentsAPI]' - type: object properties: data: - title: ProjectsCommentsAPI - required: - - comment_id - - project_uuid - - user_id - - contents - - created - - modified - type: object properties: comment_id: - title: Comment Id - exclusiveMinimum: true type: integer + exclusiveMinimum: true + title: Comment Id description: 'Primary key, identifies the comment' minimum: 0 project_uuid: - title: Project Uuid type: string - description: project reference for this table format: uuid + title: Project Uuid + description: project reference for this table user_id: - title: User Id - exclusiveMinimum: true type: integer + exclusiveMinimum: true + title: User Id description: user reference for this table minimum: 0 contents: - title: Contents type: string + title: Contents description: Contents of the comment created: - title: Created type: string - description: Timestamp on creation format: date-time + title: Created + description: Timestamp on creation modified: - title: Modified type: string - description: Timestamp with last update format: date-time + title: Modified + description: Timestamp with last update additionalProperties: false + type: object + required: + - comment_id + - project_uuid + - user_id + - contents + - created + - modified + title: ProjectsCommentsAPI error: title: Error + type: object + title: 'Envelope[ProjectsCommentsAPI]' put: tags: - project @@ -5976,16 +6032,16 @@ paths: parameters: - required: true schema: - title: Project Uuid type: string format: uuid + title: Project Uuid name: project_uuid in: path - required: true schema: - title: Comment Id - exclusiveMinimum: true type: integer + exclusiveMinimum: true + title: Comment Id minimum: 0 name: comment_id in: path