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

Lets say I have path `/mail/domain/{name}` in OpenAPI. REST URL rules generated for it will be `GET mail/domain/` Above rule will not function for URL `http://example.com/mail/domain/github.com` because `github.com` have dot...

https://github.com/cebe/yii2-openapi/issues/100#issuecomment-1135982903

Resolve https://github.com/cebe/yii2-openapi/issues/102 Known limitations (tracked in #110 ): Lets say we have ``` col_A col_B col_C col_D ``` If we add col_B2 after col_B then it will added successfully after...

There is know limitation (see description of pull request) in solution (#105 ) of issue #102 Also one should start solving this issue after #109 is fixed. Pull request to...

Lets say I have json fields ``` ... other fields message1 message2 message3 message4 ... other fields Gii/Api generation and Migrations of these fields are already applied ``` example: ```...

Currently GitHub action CI pipeline run test in main host. This extension have [few tests](https://github.com/cebe/yii2-openapi/blob/master/tests/unit/MultiDbSecondaryMigrationTest.php#L70) that needs to be run in container. So its config in `yii2-openapi/.github/workflows/test.yml` would be great...

When running `$ yii gii/api` migrations files are generated with syntax error. Consider a property/field ``` test_emails: type: array x-db-type: JSON nullable: false default: '[]' ``` create table are generated...

Lets say I have a [Petstore OpenAPI schema](https://github.com/OAI/OpenAPI-Specification/blob/main/examples/v3.0/petstore.yaml) Consider `Pet.id` When code is generated using this library, migrations for `id` column of `pets` table will be generated. This `id` is...

bug

3 tests fails in Docker container _Though these tests passes in local non-containerised env_ ``` yii2-openapi$ make testdocker docker-compose run --rm php sh -c 'vendor/bin/phpunit tests/unit' Starting yii2-openapi_maria_1 ... done...

```yaml components: responses: Contact: description: 'Returns one contact by ID.' content: application/vnd.api+json: schema: type: object properties: data: $ref: '#/components/schemas/Contact' paths: '/account/{accountId}/contacts': parameters: - name: accountId in: path description: ID of...