Skip to content

Resolve: Bug gii/api generated rules: email_id #159 #39

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

Merged
merged 5 commits into from
May 30, 2024

Conversation

SOHELAHMED7
Copy link
Owner

Fix cebe#159

@SOHELAHMED7 SOHELAHMED7 changed the title Draft: Bug gii/api generated rules: email_id #159 Resolve: Bug gii/api generated rules: email_id #159 May 30, 2024
@SOHELAHMED7 SOHELAHMED7 marked this pull request as ready for review May 30, 2024 12:07
@SOHELAHMED7 SOHELAHMED7 merged commit 4e77f4d into master May 30, 2024
5 of 7 checks passed
cebe added a commit to cebe/yii2-openapi that referenced this pull request Jun 4, 2024
| Fix Issue # | Fork PR # |
| ------ | ------ |
| #175 | SOHELAHMED7#36 |
| #172 | SOHELAHMED7#37 |
| #159  | SOHELAHMED7#39 |
| #158 | SOHELAHMED7#40 |
| #178 |
SOHELAHMED7#41 |
SOHELAHMED7 added a commit that referenced this pull request Nov 13, 2024
If params is not required then we get validation error:

```
Array
(
    [openApiPath] => Array
        (
            [0] => Failed to validate OpenAPI spec:<ul>
<li>[/paths/~1pets~1{id}/get/parameters/1] Parameter &#39;required&#39; must be true for &#39;in&#39;: &#39;path&#39;.</li>
</ul>
        )

)
```

and code generation fails.
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

Successfully merging this pull request may close these issues.

Bug gii/api generated rules: email_id
1 participant