Skip to content

Commit a2072f8

Browse files
committed
point generator refs to right repo.
1 parent 134f6f5 commit a2072f8

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

README.md

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Check out [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification)
5757
- [Customizing the generator](#customizing-the-generator)
5858
- [Validating your OpenAPI Spec](#validating-your-openapi-spec)
5959
- [Generating dynamic html api documentation](#generating-dynamic-html-api-documentation)
60-
- [Generating static html api documentation](#generating-static-html-api-documentation)
6160
- [To build a server stub](#to-build-a-server-stub)
6261
- [To build the codegen library](#to-build-the-codegen-library)
6362
- [Workflow Integration](#workflow-integration)
@@ -459,15 +458,16 @@ Editor support for `.swagger-codegen-ignore` files is available in IntelliJ via
459458

460459
### Customizing the generator
461460

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:
463462

464463
```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
466467
AbstractJavaJAXRSServerCodegen.java
467-
AbstractTypeScriptClientCodegen.java
468-
... (results omitted)
469-
TypeScriptAngularClientCodegen.java
470-
TypeScriptNodeClientCodegen.java
468+
...
469+
JavaClientCodegen.java
470+
JavaJAXRSSpecServerCodegen.java
471471
```
472472

473473
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 .
591591

592592
Which launches a node.js server so the AJAX calls have a place to go.
593593

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-
605594
### To build a server stub
606595

607596
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
722711
---------------------------
723712

724713
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)
726715
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))
727716

728717
# License information on Generated Code

0 commit comments

Comments
 (0)