mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	openapi: stabilize playground + feature types endpoints (#4433)
This PR stabilizes the playground and feature types endpoints by changing their tag from 'Unstable' to respectively 'Playground' and 'Feature Types'. It also moves the existing feature type endpoint (which was previously tagged as 'Features') to the 'Feature Types' tag.
This commit is contained in:
		
							parent
							
								
									6ae1887aa5
								
							
						
					
					
						commit
						a7cb2b8d53
					
				@ -70,7 +70,7 @@ export default class PlaygroundController extends Controller {
 | 
			
		||||
            middleware: [
 | 
			
		||||
                openApiService.validPath({
 | 
			
		||||
                    operationId: 'getAdvancedPlayground',
 | 
			
		||||
                    tags: ['Unstable'],
 | 
			
		||||
                    tags: ['Playground'],
 | 
			
		||||
                    responses: {
 | 
			
		||||
                        ...getStandardResponses(400, 401),
 | 
			
		||||
                        200: createResponseSchema(
 | 
			
		||||
 | 
			
		||||
@ -52,7 +52,7 @@ export class FeatureTypeController extends Controller {
 | 
			
		||||
            permission: NONE,
 | 
			
		||||
            middleware: [
 | 
			
		||||
                openApiService.validPath({
 | 
			
		||||
                    tags: ['Features'],
 | 
			
		||||
                    tags: ['Feature Types'],
 | 
			
		||||
                    operationId: 'getAllFeatureTypes',
 | 
			
		||||
                    summary: 'Get all feature types',
 | 
			
		||||
                    description:
 | 
			
		||||
@ -72,7 +72,7 @@ export class FeatureTypeController extends Controller {
 | 
			
		||||
            permission: ADMIN,
 | 
			
		||||
            middleware: [
 | 
			
		||||
                openApiService.validPath({
 | 
			
		||||
                    tags: ['Unstable'],
 | 
			
		||||
                    tags: ['Feature Types'],
 | 
			
		||||
                    operationId: 'updateFeatureTypeLifetime',
 | 
			
		||||
                    summary: 'Update feature type lifetime',
 | 
			
		||||
                    description: `Updates the lifetime configuration for the specified [feature toggle type](https://docs.getunleash.io/reference/feature-toggle-types). The expected lifetime is an integer representing the number of days before Unleash marks a feature toggle of that type as potentially stale. If set to \`null\` or \`0\`, then feature toggles of that particular type will never be marked as potentially stale.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user