Fork of github.com/did-method-plc/did-method-plc

fix spec and web typos with 404 vs 410

Changed files
+2 -2
go-didplc
cmd
webplc
+1 -1
go-didplc/cmd/webplc/spec/plc-server-openapi3.yaml
···
type: string
example:
message: "DID not registered: did:plc:ewvi7nxzyoun6zhxrhs64oiz"
-
404DidNotAvailable:
description: "DID Not Available (Tombstone)"
content:
application/json:
···
type: string
example:
message: "DID not registered: did:plc:ewvi7nxzyoun6zhxrhs64oiz"
+
410DidNotAvailable:
description: "DID Not Available (Tombstone)"
content:
application/json:
+1 -1
go-didplc/cmd/webplc/templates/error.html
···
{% if statusCode == 404 %}
<h1>404: Not Found</h1>
{% elif statusCode == 410 %}
-
<h1>404: Gone</h1>
{% elif statusCode == 400 %}
<h1>400: Bad Request</h1>
{% else %}
···
{% if statusCode == 404 %}
<h1>404: Not Found</h1>
{% elif statusCode == 410 %}
+
<h1>410: Gone</h1>
{% elif statusCode == 400 %}
<h1>400: Bad Request</h1>
{% else %}