You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Tip: If you use Docker, run `make bash` before running any of these commands.
81
+
37
82
Run `./yii gii/api` to generate your API code. The `--openApiPath` parameter specifies the path to your OpenAPI
38
83
spec file. The following example will generate API code for the [OpenAPI petstore example](https://github.com/OAI/OpenAPI-Specification/blob/3.0.2/examples/v3.0/petstore-expanded.yaml).
39
84
@@ -48,12 +93,7 @@ Then set up the database:
48
93
49
94
### Web
50
95
51
-
To use the web generator, start the backend server:
52
-
53
-
cd backend
54
-
make start
55
-
56
-
open `http://localhost:8338/gii` and select the `REST API Generator`.
96
+
To use the web generator, open <http://localhost:8338/gii> and select the `REST API Generator`.
57
97
58
98

59
99
@@ -94,7 +134,15 @@ Your API is now available at `http://localhost:8337/`. Try to access an endpoint
0 commit comments