From 0eb885ccddc1f287229cf89d7553f6330557b39c Mon Sep 17 00:00:00 2001 From: Cristina Ferrian <54667563+Bri74@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:52:19 +0100 Subject: [PATCH] Hotfix/send version and build on login (#20) * added appVersion and buildNumber in login paylod * fix typo * fix typo --- openapi.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index c0d55dd..6e77b21 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Polito Students API - version: 1.0.0-ALPHA.57 + version: 1.0.0-ALPHA.58 servers: - url: https://app.didattica.polito.it/api description: Production server (uses live data) @@ -51,9 +51,7 @@ paths: type: string example: s290683 client: - type: string - nullable: true - example: 'Students app' + $ref: '#/components/schemas/Client' device: $ref: '#/components/schemas/Device' required: [ username ] @@ -4625,7 +4623,14 @@ components: id: type: string example: '5a54f626-4b7e-488e-a0e3-300f54051510' - required: [ name ] + buildNumber: + type: string + example: '1060200' + appVersion: + type: string + example: '1.6.2' + + required: [ name, buildNumber, appVersion ] PhoneNumber: type: object