File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1132,6 +1132,7 @@ Here is a list of template creators:
11321132 * TypeScript (jQuery): @bherila
11331133 * TypeScript (Nestjs): @vfrank66
11341134 * TypeScript (Node): @mhardorf
1135+ * TypeScript (Playwright): @roydekleijn
11351136 * TypeScript (Rxjs): @denyo
11361137 * TypeScript (redux-query): @petejohansonxo
11371138 * Xojo: @Topheee
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ The following generators are available:
8282* [ typescript-jquery] ( generators/typescript-jquery.md )
8383* [ typescript-nestjs (experimental)] ( generators/typescript-nestjs.md )
8484* [ typescript-node] ( generators/typescript-node.md )
85- * [ typescript-playwright] ( generators/typescript-playwright.md )
85+ * [ typescript-playwright (beta) ] ( generators/typescript-playwright.md )
8686* [ typescript-redux-query] ( generators/typescript-redux-query.md )
8787* [ typescript-rxjs] ( generators/typescript-rxjs.md )
8888* [ xojo-client] ( generators/xojo-client.md )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ title: Documentation for the typescript-playwright Generator
77| Property | Value | Notes |
88| -------- | ----- | ----- |
99| generator name | typescript-playwright | pass this to the generate command after -g |
10- | generator stability | STABLE | |
10+ | generator stability | BETA | |
1111| generator type | CLIENT | |
1212| generator language | Typescript | |
1313| generator default templating engine | mustache | |
Original file line number Diff line number Diff line change 11/*
22 * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
3- * Copyright 2018 SmartBear Software
43 *
54 * Licensed under the Apache License, Version 2.0 (the "License");
65 * you may not use this file except in compliance with the License.
2625import lombok .Getter ;
2726import lombok .Setter ;
2827import org .openapitools .codegen .*;
28+ import org .openapitools .codegen .meta .GeneratorMetadata ;
29+ import org .openapitools .codegen .meta .Stability ;
2930import org .openapitools .codegen .meta .features .DocumentationFeature ;
3031import org .openapitools .codegen .meta .features .SecurityFeature ;
3132import org .openapitools .codegen .model .ModelMap ;
@@ -85,6 +86,10 @@ public TypeScriptPlaywrightClientCodegen() {
8586 .includeDocumentationFeatures (DocumentationFeature .Readme )
8687 .includeSecurityFeatures (SecurityFeature .BearerToken ));
8788
89+ generatorMetadata = GeneratorMetadata .newBuilder (generatorMetadata )
90+ .stability (Stability .BETA )
91+ .build ();
92+
8893 // clear import mapping (from default generator) as TS does not use it
8994 // at the moment
9095 importMapping .clear ();
You can’t perform that action at this time.
0 commit comments