yii2-openapi icon indicating copy to clipboard operation
yii2-openapi copied to clipboard

REST API application generator for Yii2, openapi 3.0 YAML -> Yii2

Results 53 yii2-openapi issues
Sort by recently updated
recently updated
newest added

I have this OA file (top parts removed). I want Payments to do many things. for example `/payments/invoice` for paying invoices or `payments/cash` for non-credit payments. These takes different objects...

PHP 8.2 fails a lot of tests: https://github.com/cebe/yii2-openapi/actions/runs/4553009108/jobs/8029053714 These should be checked and fixed.

- [x] enum for PGSQL should be rename to `enum__` instead of current `enum_` - [ ] change in Enum values (rename, add, drop values) - alter column. Enum column...

enhancement

For simple CRUD operations the DB schema often matches the JSON schema of the request response exactly. However there are a lot of use cases where the schema returned by...

generator-feature

Hey @cebe, thank you for this great library. We started using the generator and want to develop the missing features and push some PRs. Can you please point us in...

Ensure its down code have correct migrations code to create table

enhancement
generator-feature

https://github.com/cebe/yii2-openapi/pull/112#discussion_r1055380429 Calling `getSerializableData()` is a significant performance overhead which is currently necessary because of how php-openapi handles default values. We should try to avoid that.

upstream

Fix https://github.com/cebe/yii2-openapi/pull/167#issuecomment-2090778115 Newer version of Mysql in Docker is causing this. Most likely this is it. https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html At this moment I am using 8.0.37 to fix this issue temporarily

```yaml components: schemas: Webhook: x-indexes: - 'unique:user_id,name' # references implicit ID type: object description: example for x-fk-column-name properties: id: type: integer name: type: string user: $ref: '#/components/schemas/User' # this will...

bug