Skip to content

Commit 506d108

Browse files
authored
Merge pull request #671 from BrentIO/fix/634
fix: /api/provisioning/token wrong methods return 404 not 405
2 parents e9719df + 01be1df commit 506d108

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Controller/openapi.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,7 @@ paths:
496496
example:
497497
message: Only accessible via provisioning network
498498
'404':
499-
description: Not Found — no controller record found for the provided UUID, or the record has no mac field
500-
'405':
501-
description: Method Not Allowed
499+
description: Not Found — no controller record found for the provided UUID, or the record has no mac field; also returned for any HTTP method other than POST or OPTIONS, as only those methods are registered on this path
502500
'409':
503501
description: Conflict — provisioning mode is not active
504502
content:

0 commit comments

Comments
 (0)