File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # contributing to openapi-generatr
2+
3+ ## feature & bug reports
4+
5+ In case some feature is missing or the generated code is not 100% what you would expect please create
6+ an issue with test case. Providing a test case will help significantly :-)
7+
8+ A test case is a single folder with an openapi.yaml file and the expected Java files the generatr
9+ should create. The structure looks like this:
10+
11+ my-new-test-case/
12+ openapi.yaml
13+ mapping.yaml
14+ generated/
15+ api/
16+ AnEndpointInterface.java
17+ .. more api interfaces ..
18+ model/
19+ AModelClass.java
20+ AnotherModelClass.java
21+ .. more model files ..
22+
23+ The ` mapping.yaml ` contains the type mapping information and is an optional file.
24+
25+ See the [ existing integration tests] [ generatr-int-resources ] for a couple of examples.
26+
27+ ## working on the code
28+
29+ ### jdk
30+
31+ the minimum jdk is currently JDK 8
32+
33+ ### ide setup
34+
35+ openapi-generatr can be imported into IntelliJ IDEA by opening the ` build.gradle ` file.
36+
37+ ### running the tests
38+
39+ To run the tests use ` ./gradlew check ` .
40+
41+ ` check ` runs the unit tests and the integration tests
42+
43+ ### documentation
44+
45+ The documentation is in ` docs ` . See the ` README ` in ` docs ` for setup and viewing it locally.
46+
You can’t perform that action at this time.
0 commit comments