Skip to content

Commit

Permalink
chore: deprecate outdate java-sdk generator (#2564)
Browse files Browse the repository at this point in the history
## Proposed change

Deprecate the java-sdk generator which is not compatible with OpenApi 3.
  • Loading branch information
cpaulve-1A authored Dec 9, 2024
2 parents f03c82e + a760f3b commit 3aad70c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@ama-sdk/schematics/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"schema": "./schematics/typescript/shell/schema.json"
},
"java-client-core": {
"description": "Generate a Java SDK source code based on swagger specification",
"description": "[Deprecated - Removed in v12] Generate a Java SDK source code based on swagger specification",
"factory": "./schematics/java/client-core/index#ngGenerateJavaClientCore",
"schema": "./schematics/java/client-core/schema.json"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
/**
* Manage the schematic to generate a sdk using the Swagger 2 Generator
* Note: a working java setup compatible with Swagger 2 Generator is required to use this class
* @deprecated to be removed in v12
*/
export class SwaggerJavaGenerator extends CodeGenerator<JavaGeneratorTaskOptions> {
/** @inheritDoc */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function ngGenerateJavaClientCoreFn(options: NgGenerateJavaClientCoreSchematicsS

/**
* Generate a Java client SDK source code base on swagger specification
* @deprecated Remove in otter v12
* @param options
*/
export const ngGenerateJavaClientCore = (options: NgGenerateJavaClientCoreSchematicsSchema) => async () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Swagger Codegen for the javaClient library
# Swagger Codegen for the javaClient library [Deprecated]

> [!WARN]
> This project is no longer maintained and is now fully deprecated. We intend to delete it from Otter v12
> It is based on old version of the SwaggerCodegen tool which is not even compatible with today's standard.
## Overview
This is a boiler-plate project to generate your own client library with Swagger. Its goal is
This is a boilerplate project to generate your own client library with Swagger. Its goal is
to get you started with the basic plumbing so you can put in your own logic. It won't work without
your changes applied.

Expand Down

0 comments on commit 3aad70c

Please sign in to comment.