Skip to content

Commit dae020e

Browse files
Merge pull request #33 from IFRCGo/WN-340
update_swagger
2 parents 2e0b539 + 01f5844 commit dae020e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

config/l5-swagger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
* Constants which can be used in annotations
253253
*/
254254
'constants' => [
255-
'L5_SWAGGER_CONST_HOST' => env('APP_URL', 'http://localhost') . '/v1',
255+
'L5_SWAGGER_CONST_HOST' => env('APP_URL', 'https://api-preparemessages-stage.ifrc.org') . '/v2',
256256
],
257257
],
258258
];

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ COPY ./ /var/www/html
2424
WORKDIR /var/www/html
2525
RUN composer install --no-dev --prefer-dist --optimize-autoloader
2626

27+
# Generate Swagger documentation
28+
RUN php artisan l5-swagger:generate
29+
2730
RUN mkdir -p storage/framework/sessions
2831
RUN mkdir -p storage/framework/views
2932
RUN mkdir -p storage/framework/cache

0 commit comments

Comments
 (0)