Merge pull request #47 from brct-james/fix-global-security-on-status-and-register

Fix global security on public endpoints
This commit is contained in:
SpaceAdmiral 2023-05-23 09:24:29 -07:00 committed by GitHub
commit 8f3e44882b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 33 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.DS_Store .DS_Store
.stoplight/styleguide.json

View File

@ -225,7 +225,8 @@
} }
}, },
"summary": "Get Status", "summary": "Get Status",
"tags": [] "tags": [],
"security": []
} }
}, },
"/register": { "/register": {
@ -315,7 +316,8 @@
} }
}, },
"summary": "Register New Agent", "summary": "Register New Agent",
"tags": [] "tags": [],
"security": []
} }
}, },
"/systems": { "/systems": {
@ -350,11 +352,7 @@
"description": "OK" "description": "OK"
} }
}, },
"security": [ "security": [],
{
"AgentToken": []
}
],
"summary": "List Systems", "summary": "List Systems",
"tags": [ "tags": [
"systems" "systems"
@ -407,11 +405,7 @@
"description": "OK" "description": "OK"
} }
}, },
"security": [ "security": [],
{
"AgentToken": []
}
],
"summary": "Get System", "summary": "Get System",
"tags": [ "tags": [
"systems" "systems"
@ -530,11 +524,7 @@
"description": "OK" "description": "OK"
} }
}, },
"security": [ "security": [],
{
"AgentToken": []
}
],
"summary": "Get Waypoint", "summary": "Get Waypoint",
"tags": [ "tags": [
"systems" "systems"
@ -585,11 +575,7 @@
"description": "OK" "description": "OK"
} }
}, },
"security": [ "security": [],
{
"AgentToken": []
}
],
"summary": "Get Market", "summary": "Get Market",
"tags": [ "tags": [
"systems" "systems"
@ -641,11 +627,7 @@
"description": "OK" "description": "OK"
} }
}, },
"security": [ "security": [],
{
"AgentToken": []
}
],
"summary": "Get Shipyard", "summary": "Get Shipyard",
"tags": [ "tags": [
"systems" "systems"
@ -697,11 +679,7 @@
"description": "OK" "description": "OK"
} }
}, },
"security": [ "security": [],
{
"AgentToken": []
}
],
"summary": "Get Jump Gate", "summary": "Get Jump Gate",
"tags": [ "tags": [
"systems" "systems"