Skip to content

Commit

Permalink
Hotfix/send version and build on login (#20)
Browse files Browse the repository at this point in the history
* added appVersion and buildNumber in login paylod

* fix typo

* fix typo
  • Loading branch information
Bri74 committed Feb 26, 2024
1 parent 52502f2 commit 0eb885c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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 ]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0eb885c

Please sign in to comment.