chameleonbr/apibird_examples/master/swagger/.htaccess
<ifModule mod_headers.c>
#SetEnvIfNoCase ORIGIN (.*) ORIGIN=$1
#Header always set Access-Control-Allow-Origin "%{ORIGIN}e"
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, GET, PUT, OPTIONS, PATCH, DELETE"
Header always set Access-Control-Allow-Headers "X-Accept-Charset,X-Accept,Content-Type,Location,Authorization"
Header always set Access-Control-Allow-Credentials "true"
</ifModule>
On Github License
Files