Merge pull request 'Remove leftover code from Swagger-CSRF experiment' (#131) from remove-swagger-csrf into main
Some checks failed
Check usage of free licenses / check-licenses (push) Successful in 1m19s
Run unit tests / unit_tests (push) Successful in 2m58s
Build Nginx-based docker image / build-static-assets (push) Has been cancelled

Reviewed-on: #131
This commit is contained in:
bustikiller 2024-11-16 09:12:35 +00:00
commit 8e799bfd2b

View File

@ -22,15 +22,6 @@ RSpec.configure do |config|
config.openapi_specs = {
'v1/swagger.yaml' => {
openapi: '3.0.1',
components: {
securitySchemes: {
csrfToken: {
type: :apiKey,
in: :header,
name: 'X-CSRF-Token'
}
}
},
info: {
title: 'API V1',
version: 'v1'