Support for x-stability property (#3064)

This commit is contained in:
Nolann B.
2025-03-31 13:49:37 +02:00
committed by GitHub
parent 813b2af06b
commit 5b1e01c786
6 changed files with 87 additions and 5 deletions
+8
View File
@@ -62,8 +62,16 @@ export interface OpenAPICustomOperationProperties {
name?: string;
};
};
/**
* Stability of the operation.
* @enum 'experimental' | 'alpha' | 'beta' | 'stable'
*/
'x-stability'?: OpenAPIStability;
}
export type OpenAPIStability = 'experimental' | 'alpha' | 'beta' | 'stable';
/**
* Custom code samples that can be defined at the operation level.
* It follows the spec defined by Redocly.