Skip to content

Commit

Permalink
Sort for easy diff
Browse files Browse the repository at this point in the history
Sort the properties to make diffing easier.
  • Loading branch information
martincostello committed Jul 3, 2024
1 parent 4e5bc8b commit 684485c
Showing 1 changed file with 81 additions and 81 deletions.
162 changes: 81 additions & 81 deletions src/API/wwwroot/swagger/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,53 +229,87 @@
},
"components": {
"schemas": {
"TimeResponse": {
"GuidResponse": {
"type": "object",
"description": "Represents the response from the /time API resource.",
"description": "Represents the response from the /tools/guid API resource.",
"example": {
"timestamp": "2016-06-03T18:44:14+00:00",
"rfc1123": "Fri, 03 Jun 2016 18:44:14 GMT",
"unix": 1464979454,
"universalSortable": "2016-06-03 18:44:14Z",
"universalFull": "Friday, 03 June 2016 18:44:14"
"guid": "6bc55a07-3d3e-4d52-8701-362a1187772d"
},
"additionalProperties": false,
"properties": {
"timestamp": {
"guid": {
"type": "string",
"description": "The timestamp for the response for which the times are generated.",
"format": "date-time"
},
"rfc1123": {
"description": "The generated GUID value."
}
}
},
"HashRequest": {
"type": "object",
"description": "Represents a request to the /tools/hash API resource.",
"example": {
"algorithm": "sha256",
"format": "base64",
"plaintext": "The quick brown fox jumped over the lazy dog"
},
"additionalProperties": false,
"required": [
"algorithm",
"format",
"plaintext"
],
"properties": {
"algorithm": {
"type": "string",
"description": "The current UTC date and time in RFC1123 format."
},
"unix": {
"type": "integer",
"description": "The number of seconds since the UNIX epoch.",
"format": "int64"
"description": "The name of the hash algorithm to use.",
"minLength": 1
},
"universalSortable": {
"format": {
"type": "string",
"description": "The current UTC date and time in universal sortable format."
"description": "The format in which to return the hash.",
"minLength": 1
},
"universalFull": {
"plaintext": {
"type": "string",
"description": "The current UTC date and time in universal full format."
"description": "The plaintext value to generate the hash from.",
"minLength": 1
}
}
},
"GuidResponse": {
"HashResponse": {
"type": "object",
"description": "Represents the response from the /tools/guid API resource.",
"description": "Represents the response from the /tools/hash API resource.",
"example": {
"guid": "6bc55a07-3d3e-4d52-8701-362a1187772d"
"hash": "fTi1zSWiuvha07tbkxE4PmcaihQuswKzJNSl+6h0jGk="
},
"additionalProperties": false,
"properties": {
"guid": {
"hash": {
"type": "string",
"description": "The generated GUID value."
"description": "A string containing the generated hash value in the requested format."
}
}
},
"MachineKeyResponse": {
"type": "object",
"description": "Represents the response from the /tools/machinekey API resource.",
"example": {
"decryptionKey": "2EA72C07DEEF522B4686C39BDF83E70A96BA92EE1D960029821FCA2E4CD9FB72",
"validationKey": "0A7A92827A74B9B4D2A21918814D8E4A9150BB5ADDB284533BDB50E44ADA6A4BCCFF637A5CB692816EE304121A1BCAA5A6D96BE31A213DEE0BAAEF102A391E8F",
"machineKeyXml": "<machineKey validationKey=\"0A7A92827A74B9B4D2A21918814D8E4A9150BB5ADDB284533BDB50E44ADA6A4BCCFF637A5CB692816EE304121A1BCAA5A6D96BE31A213DEE0BAAEF102A391E8F\" decryptionKey=\"2EA72C07DEEF522B4686C39BDF83E70A96BA92EE1D960029821FCA2E4CD9FB72\" validation=\"SHA1\" decryption=\"AES\" />"
},
"additionalProperties": false,
"properties": {
"decryptionKey": {
"type": "string",
"description": "A string containing the decryption key."
},
"validationKey": {
"type": "string",
"description": "A string containing the validation key."
},
"machineKeyXml": {
"type": "string",
"description": "A string containing the machineKey XML configuration element."
}
}
},
Expand Down Expand Up @@ -312,73 +346,39 @@
}
}
},
"HashResponse": {
"type": "object",
"description": "Represents the response from the /tools/hash API resource.",
"example": {
"hash": "fTi1zSWiuvha07tbkxE4PmcaihQuswKzJNSl+6h0jGk="
},
"additionalProperties": false,
"properties": {
"hash": {
"type": "string",
"description": "A string containing the generated hash value in the requested format."
}
}
},
"HashRequest": {
"TimeResponse": {
"type": "object",
"description": "Represents a request to the /tools/hash API resource.",
"description": "Represents the response from the /time API resource.",
"example": {
"algorithm": "sha256",
"format": "base64",
"plaintext": "The quick brown fox jumped over the lazy dog"
"timestamp": "2016-06-03T18:44:14+00:00",
"rfc1123": "Fri, 03 Jun 2016 18:44:14 GMT",
"unix": 1464979454,
"universalSortable": "2016-06-03 18:44:14Z",
"universalFull": "Friday, 03 June 2016 18:44:14"
},
"additionalProperties": false,
"required": [
"algorithm",
"format",
"plaintext"
],
"properties": {
"algorithm": {
"timestamp": {
"type": "string",
"description": "The name of the hash algorithm to use.",
"minLength": 1
"description": "The timestamp for the response for which the times are generated.",
"format": "date-time"
},
"format": {
"rfc1123": {
"type": "string",
"description": "The format in which to return the hash.",
"minLength": 1
"description": "The current UTC date and time in RFC1123 format."
},
"plaintext": {
"type": "string",
"description": "The plaintext value to generate the hash from.",
"minLength": 1
}
}
},
"MachineKeyResponse": {
"type": "object",
"description": "Represents the response from the /tools/machinekey API resource.",
"example": {
"decryptionKey": "2EA72C07DEEF522B4686C39BDF83E70A96BA92EE1D960029821FCA2E4CD9FB72",
"validationKey": "0A7A92827A74B9B4D2A21918814D8E4A9150BB5ADDB284533BDB50E44ADA6A4BCCFF637A5CB692816EE304121A1BCAA5A6D96BE31A213DEE0BAAEF102A391E8F",
"machineKeyXml": "<machineKey validationKey=\"0A7A92827A74B9B4D2A21918814D8E4A9150BB5ADDB284533BDB50E44ADA6A4BCCFF637A5CB692816EE304121A1BCAA5A6D96BE31A213DEE0BAAEF102A391E8F\" decryptionKey=\"2EA72C07DEEF522B4686C39BDF83E70A96BA92EE1D960029821FCA2E4CD9FB72\" validation=\"SHA1\" decryption=\"AES\" />"
},
"additionalProperties": false,
"properties": {
"decryptionKey": {
"type": "string",
"description": "A string containing the decryption key."
"unix": {
"type": "integer",
"description": "The number of seconds since the UNIX epoch.",
"format": "int64"
},
"validationKey": {
"universalSortable": {
"type": "string",
"description": "A string containing the validation key."
"description": "The current UTC date and time in universal sortable format."
},
"machineKeyXml": {
"universalFull": {
"type": "string",
"description": "A string containing the machineKey XML configuration element."
"description": "The current UTC date and time in universal full format."
}
}
}
Expand Down

0 comments on commit 684485c

Please sign in to comment.