Add mount path into the default generated openapi.json spec (UI) (#17926)

This commit is contained in:
Anton Averchenkov
2022-12-08 12:15:54 -05:00
committed by GitHub
parent 256fca684b
commit db8efac708
12 changed files with 107 additions and 112 deletions

View File

@@ -330,7 +330,7 @@ func (p *Path) helpCallback(b *Backend) OperationFunc {
}
}
doc := NewOASDocument(vaultVersion)
if err := documentPath(p, b.SpecialPaths(), requestResponsePrefix, false, b.BackendType, doc); err != nil {
if err := documentPath(p, b.SpecialPaths(), requestResponsePrefix, b.BackendType, doc); err != nil {
b.Logger().Warn("error generating OpenAPI", "error", err)
}