Mikael Ståldal
05/24/2023, 9:23 AMPath.regex("([0-9a-fA-F])")
now, but the generated schema is just:
{
"schema": {
"type": "string"
},
"in": "path",
"name": "hexParam",
"required": true,
"description": "Hexadecimal value"
},
I would like:
{
"schema": {
"type": "string",
"pattern": "[0-9a-fA-F]"
},
"in": "path",
"name": "hexParam",
"required": true,
"description": "Hexadecimal value"
},
dave
05/24/2023, 9:33 AMdave
05/24/2023, 9:33 AMMikael Ståldal
05/24/2023, 9:51 AMdave
05/24/2023, 9:52 AMdave
05/24/2023, 9:52 AMdave
05/24/2023, 9:52 AMdave
05/24/2023, 9:53 AMMikael Ståldal
05/24/2023, 12:22 PMMikael Ståldal
05/24/2023, 12:24 PMhttp4k-contract
is not sufficient for my OpenAPI generation needs.dave
05/24/2023, 12:30 PMMikael Ståldal
05/24/2023, 12:32 PMMikael Ståldal
05/24/2023, 12:32 PMAndrew O'Hara
05/24/2023, 1:57 PMContractRouteSpecX.Binder
for your clients and fakes
• Even if you don't expose the spec publicly, it's still incredibly useful for documenting internal APIs