From 52f31a77aa048974ec696af827f11f792c63c131 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 17 Nov 2024 12:02:10 +0000 Subject: [PATCH] Remove bruno collection - use Swagger --- .../Authentication/Change Password.bru | 26 ------------------- .../Galaeth/Authentication/Login.bru | 23 ---------------- .../Galaeth/Authentication/Refresh.bru | 17 ------------ BrunoColllection/Galaeth/Me/Me.bru | 11 -------- BrunoColllection/Galaeth/bruno.json | 9 ------- .../Galaeth/environments/Galaeth.bru | 7 ----- 6 files changed, 93 deletions(-) delete mode 100644 BrunoColllection/Galaeth/Authentication/Change Password.bru delete mode 100644 BrunoColllection/Galaeth/Authentication/Login.bru delete mode 100644 BrunoColllection/Galaeth/Authentication/Refresh.bru delete mode 100644 BrunoColllection/Galaeth/Me/Me.bru delete mode 100644 BrunoColllection/Galaeth/bruno.json delete mode 100644 BrunoColllection/Galaeth/environments/Galaeth.bru diff --git a/BrunoColllection/Galaeth/Authentication/Change Password.bru b/BrunoColllection/Galaeth/Authentication/Change Password.bru deleted file mode 100644 index 82052c6..0000000 --- a/BrunoColllection/Galaeth/Authentication/Change Password.bru +++ /dev/null @@ -1,26 +0,0 @@ -meta { - name: Change Password - type: http - seq: 3 -} - -post { - url: {{Host}}/v1/auth/pwd - body: json - auth: bearer -} - -headers { - : -} - -auth:bearer { - token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyLWlkIjoiYWQyZjI2MmUtOTVhMi00MDUzLTlmMjMtNmMxNjg5NWEwNGE3Iiwicm9sZSI6IlJvb3QiLCJuYmYiOjE3MzE3ODUyMTMsImV4cCI6MTczMTc4NTUxMywiaWF0IjoxNzMxNzg1MjEzLCJpc3MiOiJ5b3VyLWlzc3VlciIsImF1ZCI6InlvdXItYXVkaWVuY2UifQ.udVpVx3maT_Cn9WHkBOCukT_o1oGctqsXboYjL32I3Y -} - -body:json { - { - "oldPassword": "{{Password}}", - "newPassword": "MyNewPassword123!" - } -} diff --git a/BrunoColllection/Galaeth/Authentication/Login.bru b/BrunoColllection/Galaeth/Authentication/Login.bru deleted file mode 100644 index c445ec8..0000000 --- a/BrunoColllection/Galaeth/Authentication/Login.bru +++ /dev/null @@ -1,23 +0,0 @@ -meta { - name: Login - type: http - seq: 1 -} - -post { - url: {{Host}}/v1/auth/login - body: json - auth: none -} - -body:json { - { - "username": "{{Username}}", - "password": "{{Password}}" - } -} - -body:multipart-form { - username: {{Username}} - password: {{Password}} -} diff --git a/BrunoColllection/Galaeth/Authentication/Refresh.bru b/BrunoColllection/Galaeth/Authentication/Refresh.bru deleted file mode 100644 index 446d0b5..0000000 --- a/BrunoColllection/Galaeth/Authentication/Refresh.bru +++ /dev/null @@ -1,17 +0,0 @@ -meta { - name: Refresh - type: http - seq: 2 -} - -post { - url: {{Host}}/v1/auth/refresh - body: json - auth: none -} - -body:json { - { - "refreshToken": "Y1oMF6M9tNjTa2aX01lkXffJo7CrKCqwJ7bOxsjjgEXozVEhUFvNq7KydSQY5rPY" - } -} diff --git a/BrunoColllection/Galaeth/Me/Me.bru b/BrunoColllection/Galaeth/Me/Me.bru deleted file mode 100644 index 148a4f5..0000000 --- a/BrunoColllection/Galaeth/Me/Me.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Me - type: http - seq: 1 -} - -get { - url: {{Host}}/v1/me - body: none - auth: bearer -} diff --git a/BrunoColllection/Galaeth/bruno.json b/BrunoColllection/Galaeth/bruno.json deleted file mode 100644 index 3f03882..0000000 --- a/BrunoColllection/Galaeth/bruno.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": "1", - "name": "Galaeth", - "type": "collection", - "ignore": [ - "node_modules", - ".git" - ] -} \ No newline at end of file diff --git a/BrunoColllection/Galaeth/environments/Galaeth.bru b/BrunoColllection/Galaeth/environments/Galaeth.bru deleted file mode 100644 index 9e090aa..0000000 --- a/BrunoColllection/Galaeth/environments/Galaeth.bru +++ /dev/null @@ -1,7 +0,0 @@ -vars { - Host: http://localhost:5000 -} -vars:secret [ - Username, - Password -]