mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	Remove generic_mount_paths field (#18558)
				
					
				
			PR #17926 already deleted the implementation of the `generic_mount_paths` field so it needs to be removed from the declared fields of the path too, so help and OpenAPI isn't misleading.
This commit is contained in:
		| @@ -956,12 +956,6 @@ func (b *SystemBackend) internalPaths() []*framework.Path { | |||||||
| 					Type:        framework.TypeString, | 					Type:        framework.TypeString, | ||||||
| 					Description: "Context string appended to every operationId", | 					Description: "Context string appended to every operationId", | ||||||
| 				}, | 				}, | ||||||
| 				"generic_mount_paths": { |  | ||||||
| 					Type:        framework.TypeBool, |  | ||||||
| 					Description: "Use generic mount paths", |  | ||||||
| 					Query:       true, |  | ||||||
| 					Default:     false, |  | ||||||
| 				}, |  | ||||||
| 			}, | 			}, | ||||||
| 			Callbacks: map[logical.Operation]framework.OperationFunc{ | 			Callbacks: map[logical.Operation]framework.OperationFunc{ | ||||||
| 				logical.ReadOperation:   b.pathInternalOpenAPI, | 				logical.ReadOperation:   b.pathInternalOpenAPI, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Bowsher
					Max Bowsher