Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI generator

Currently, only generating schema, enums and controller/action templates are done.

Installation

add to require-dev section of composer.json:

"futuretek/yii2-gii-openapi-server": "^1.0.0"

Usage

Extension has automatic configuration via futuretek/yii2-composer package. See composer.json - extra:yii-config:web

Or you can add the configuration manually:

'modules' => [
    'gii' => [
        'class' => 'yii\gii\Module',
        'allowedIPs' => ['127.0.0.1', '::1'],
        'generators' => [
            'openapi' => [
                'class' => 'futuretek\gii\openapi\server\Generator',
            ],
        ]
    ],
]     

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages