Fix duplicate definition of path `sys/internal/specs/openapi` (#18553)
This was accidentally duplicated in #5687. Remove the second definition, which was shadowed by the first, and move the documentation that was part of the second to the surviving version.
This commit is contained in:
parent
6927478ab9
commit
7d87548f4f
|
@ -961,15 +961,7 @@ func (b *SystemBackend) internalPaths() []*framework.Path {
|
|||
logical.ReadOperation: b.pathInternalOpenAPI,
|
||||
logical.UpdateOperation: b.pathInternalOpenAPI,
|
||||
},
|
||||
},
|
||||
{
|
||||
Pattern: "internal/specs/openapi",
|
||||
Operations: map[logical.Operation]framework.OperationHandler{
|
||||
logical.ReadOperation: &framework.PathOperation{
|
||||
Callback: b.pathInternalOpenAPI,
|
||||
Summary: "Generate an OpenAPI 3 document of all mounted paths.",
|
||||
},
|
||||
},
|
||||
HelpSynopsis: "Generate an OpenAPI 3 document of all mounted paths.",
|
||||
},
|
||||
{
|
||||
Pattern: "internal/ui/feature-flags",
|
||||
|
|
Loading…
Reference in New Issue