diff --git a/docs/contributing.html b/docs/contributing.html index fe12d66a639..096bb9e093d 100644 --- a/docs/contributing.html +++ b/docs/contributing.html @@ -133,7 +133,7 @@
To add test cases (optional) covering the change in the code generator, please refer to modules/openapi-generator/src/test/java/org/openapitools/codegen
To test the templates, please perform the following:
bin
and bin/openapi3
folder. For example, run ./bin/python-client-petstore.sh
and ./bin/openapi3/python-client-petstore.sh
to update the Python PetStore API client under samples/client/petstore/python
and samples/openapi3/client/petstore/python
. For Windows, the batch files can be found under bin\windows
folder. (If you find that there are new files generated or unexpected changes as a result of the update, that's not unusual as the test cases are added to the OpenAPI spec from time to time. If you've questions or concerns, please open a ticket to start a discussion)bin
and bin/openapi3
folder. For example, run ./bin/python-petstore.sh
and ./bin/openapi3/python-petstore.sh
to update the Python PetStore API client under samples/client/petstore/python
and samples/openapi3/client/petstore/python
. For Windows, the batch files can be found under bin\windows
folder. (If you find that there are new files generated or unexpected changes as a result of the update, that's not unusual as the test cases are added to the OpenAPI spec from time to time. If you've questions or concerns, please open a ticket to start a discussion)mvn integration-test -rf :<artifactId>
, e.g. open a shell in samples/client/petstore/python
, run mvn integration-test -rf :PythonPetstoreClientTests
. The artifactId of the project can be found in the pom.xml file. (some languages may not contain unit testing for Petstore and we're looking for contribution from the community to implement those tests)git commit -a
(git add -A
if added files with new test cases)fix #1542
. (Ref: closing issues using keywords)