add swagger api definition and .htaccess

This commit is contained in:
Uwe Steinmann 2020-06-24 16:16:44 +02:00
parent 7748b112ef
commit 15c41a0528
2 changed files with 1925 additions and 0 deletions

10
restapi/.htaccess Normal file
View File

@ -0,0 +1,10 @@
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
<IfModule mod_header.c>
<Files ~ "^swagger\.yaml">
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET"
Header set Access-Control-Allow-Headers "X-Requested-With, Content-Type, Accept, Origin, Authorization"
</Files>
</IfModule>

1915
restapi/swagger.yaml Normal file

File diff suppressed because it is too large Load Diff