Skip to content

webertim/openapi-generator-bug

Repository files navigation

Minimal example for openapi-generator bug

This is a minimal example for reproducing a bug with SecretStr in the python-pydantic-v1 generator in the https://github.com/OpenAPITools/openapi-generator project.

This project contains 2 generated clients:

Testing

You can install the required dependencies by running:

pip install -r requirements.txt

After that you should be able to run the following script to reproduce the current error.

./test_old.sh

The fixed client can be tested by running the following script. It should simply print Success! after completing

./test_fixed.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •