You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-19Lines changed: 8 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,6 @@ Check out [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification)
57
57
-[Customizing the generator](#customizing-the-generator)
58
58
-[Validating your OpenAPI Spec](#validating-your-openapi-spec)
59
59
-[Generating dynamic html api documentation](#generating-dynamic-html-api-documentation)
60
-
-[Generating static html api documentation](#generating-static-html-api-documentation)
61
60
-[To build a server stub](#to-build-a-server-stub)
62
61
-[To build the codegen library](#to-build-the-codegen-library)
63
62
-[Workflow Integration](#workflow-integration)
@@ -459,15 +458,16 @@ Editor support for `.swagger-codegen-ignore` files is available in IntelliJ via
459
458
460
459
### Customizing the generator
461
460
462
-
There are different aspects of customizing the code generator beyond just creating or modifying templates. Each language has a supporting configuration file to handle different type mappings, etc:
461
+
There are different aspects of customizing the code generator (located in this version at [swagger codegen generator repo](https://github.com/swagger-api/swagger-codegen-generators)) beyond just creating or modifying templates. Each language has a supporting configuration file to handle different type mappings, etc:
463
462
464
463
```sh
465
-
$ ls -1 modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/
464
+
at https://github.com/swagger-api/swagger-codegen-generators/tree/master/src/main/java/io/swagger/codegen/languages/java/
465
+
466
+
AbstractJavaCodegen.java
466
467
AbstractJavaJAXRSServerCodegen.java
467
-
AbstractTypeScriptClientCodegen.java
468
-
... (results omitted)
469
-
TypeScriptAngularClientCodegen.java
470
-
TypeScriptNodeClientCodegen.java
468
+
...
469
+
JavaClientCodegen.java
470
+
JavaJAXRSSpecServerCodegen.java
471
471
```
472
472
473
473
Each of these files creates reasonable defaults so you can get running quickly. But if you want to configure package names, prefixes, model folders, etc. you can use a json config file to pass the values.
@@ -591,17 +591,6 @@ node .
591
591
592
592
Which launches a node.js server so the AJAX calls have a place to go.
593
593
594
-
595
-
### Generating static html api documentation
596
-
597
-
To do so, just use the `-l html` flag when reading a spec file. This creates a single, simple HTML file with embedded css so you can ship it as an email attachment, or load it from your filesystem:
598
-
599
-
```sh
600
-
cd samples/html/
601
-
open index.html
602
-
```
603
-
604
-
605
594
### To build a server stub
606
595
607
596
Please refer to https://github.com/swagger-api/swagger-codegen/wiki/Server-stub-generator-HOWTO for more information.
@@ -722,7 +711,7 @@ Guidelines for Contribution
722
711
---------------------------
723
712
724
713
Please refer to this [page.](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md)
725
-
Also for `swagger-codegen version 3` templates and classes for code generation are being migrated to[swagger-codegen-generators](https://github.com/swagger-api/swagger-codegen-generators)
714
+
Also for `swagger-codegen version 3` templates and classes for code generation are being migrated to[swagger-codegen-generators](https://github.com/swagger-api/swagger-codegen-generators)
726
715
repo. In order to know this migration process you can refer this [page.](https://github.com/swagger-api/swagger-codegen/wiki/Swagger-Codegen-migration-(swagger-codegen-generators-repository))
0 commit comments