From 6e5bbb7b1b5d81d76c83e82dd73039a3e6189e4f Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sat, 16 Nov 2024 09:59:19 +0100 Subject: [PATCH] Remove leftover code from Swagger-CSRF experiment --- spec/swagger_helper.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/swagger_helper.rb b/spec/swagger_helper.rb index 7ffd0d2..d4d34a4 100644 --- a/spec/swagger_helper.rb +++ b/spec/swagger_helper.rb @@ -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'