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

[PHP] Swagger codegen 3.0 multiple request types comma missing (Syntax error) #8722

Closed
blasto333 opened this issue Sep 19, 2018 · 2 comments
Closed

Comments

@blasto333
Copy link

blasto333 commented Sep 19, 2018

Description

When generating swagger codegen 3.0 spec in php the following is generated for request headers

(comma forgotten)

 $headers = $this->headerSelector->selectHeaders(
                ['application/json''application/xml'],
                ['application/json''multipart/form-data']


Swagger-codegen version

3

Swagger declaration file content or url

https://demo.phppointofsale.com/application/controllers/api/

Command line used for generation

php 7.1

Steps to reproduce

java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i https://demo.phppointofsale.com/application/controllers/api/ -l php -o /Users/cmuench/Desktop/api

@hampsterx
Copy link

dup of #8345

@HugoMario
Copy link
Contributor

issue has been fixed, so going to close it but please let me know if you guys find something wrong and we can reopen it.

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

3 participants