Passage en version 1.0.1
This commit is contained in:
parent
5e61cabcdc
commit
abb5c3c584
@ -2,7 +2,7 @@
|
||||
"expo": {
|
||||
"name": "Traintrape-moi",
|
||||
"slug": "traintrape-moi-client",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/images/icon.png",
|
||||
"scheme": "traintrapemoi",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "traintrape-moi-client",
|
||||
"main": "expo-router/entry",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"scripts": {
|
||||
"start": "expo start",
|
||||
"android": "expo run:android",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "traintrape-moi-server",
|
||||
"version": "0.0.1",
|
||||
"version": "1.0.1",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
@ -10,10 +10,11 @@ async function bootstrap() {
|
||||
app.useGlobalPipes(new ValidationPipe({ transform: true }))
|
||||
app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)))
|
||||
|
||||
const { version } = require('../../package.json')
|
||||
const config = new DocumentBuilder()
|
||||
.setTitle('Traintrape-moi')
|
||||
.setDescription('API permettant de stocker les données de Traintrape-moi')
|
||||
.setVersion('1.0')
|
||||
.setVersion(version)
|
||||
.addBearerAuth()
|
||||
.build()
|
||||
const document = SwaggerModule.createDocument(app, config)
|
||||
|
Loading…
Reference in New Issue
Block a user