Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master branch seem broken... CodegenConfiguratorTest.testFromFile:268 expected [1] but found [0] #12375

Closed
allComputableThings opened this issue Apr 22, 2024 · 1 comment
Assignees

Comments

@allComputableThings
Copy link

Came to make the dart extensions work with code that requires null safety (standard for some years now).

Found that master is broken.

 8298  git clone https://github.com/swagger-api/swagger-codegen
 8299  cd swagger-codegen
 8300  ./run-in-docker.sh mvn package

[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[main] INFO io.swagger.parser.Swagger20Parser - reading from src/test/resources/1_2/petstore-1.2/api-docs
[main] INFO io.swagger.parser.Swagger20Parser - reading from src/test/resources/1_2/petstore-1.2/api-docs
[main] INFO io.swagger.parser.Swagger20Parser - reading from src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
[main] INFO io.swagger.parser.Swagger20Parser - reading from src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
[main] INFO io.swagger.codegen.languages.JavascriptClientCodegen - Using JS ES5 templates
[main] INFO io.swagger.codegen.languages.JavascriptClientCodegen - Using JS ES5 templates
[main] INFO io.swagger.parser.Swagger20Parser - reading from src/test/resources/2_0/recursive_model.yaml
[main] INFO io.swagger.codegen.ignore.CodegenIgnoreProcessor - No .swagger-codegen-ignore file found.
[main] INFO io.swagger.codegen.languages.JavascriptClientCodegen - Using JS ES5 templates
[main] ERROR io.swagger.codegen.DefaultCodegen - String to be sanitized is null. Default to Object

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   CodegenConfiguratorTest.testFromFile:268 expected [1] but found [0]
```
@micryc micryc self-assigned this May 13, 2024
@micryc
Copy link
Contributor

micryc commented May 13, 2024

Hi @allComputableThings It seems like this problem is not reproducible, does this issue still appear for you ? For now i am closing the ticket, feel free to reopen if needed.

@micryc micryc closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants