API keys: Return 410 Gone status from POST /auth/keys endpoint (#92965)

* return 410 Gone status from POST /auth/keys endpoint

* generate swagger

* remove postAPIkeyResponse

* re-generate swagger

* remove docs for api key creation endpoint
This commit is contained in:
Mihai Doarna
2024-09-05 13:10:24 +03:00
committed by GitHub
parent de5bbd2539
commit ebd17adecf
6 changed files with 40 additions and 75 deletions
+5
View File
@@ -77,6 +77,11 @@ type InternalServerError GenericError
// swagger:response unauthorisedError
type UnauthorizedError GenericError
// GoneError is returned when the requested endpoint was removed.
//
// swagger:response goneError
type GoneError GenericError
// AcceptedResponse
//
// swagger:response acceptedResponse