mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Add logic to generate openapi response structures (#18192)
This commit is contained in:
committed by
GitHub
parent
672cdc0fdb
commit
5b04a05511
@@ -477,6 +477,16 @@ func TestOpenAPI_Paths(t *testing.T) {
|
||||
"amount": 42,
|
||||
},
|
||||
},
|
||||
Fields: map[string]*FieldSchema{
|
||||
"field_a": {
|
||||
Type: TypeString,
|
||||
Description: "field_a description",
|
||||
},
|
||||
"field_b": {
|
||||
Type: TypeBool,
|
||||
Description: "field_b description",
|
||||
},
|
||||
},
|
||||
}},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user