@@ -82,7 +82,7 @@ ellar create-module car
8282```
8383
8484## Add Schema
85- In ` car. schema.py ` , lets add some serializer for car input and output data
85+ In ` car/ schema.py ` , lets add some serializer for car input and output data
8686``` python
8787from ellar.serializer import Serializer
8888
@@ -97,7 +97,7 @@ class RetrieveCarSerializer(CarSerializer):
9797```
9898
9999## Add Services
100- In ` car. services.py ` , lets create a dummy repository ` CarDummyDB ` to manage our car data.
100+ In ` car/ services.py ` , lets create a dummy repository ` CarDummyDB ` to manage our car data.
101101``` python
102102import typing as t
103103import uuid
@@ -150,7 +150,7 @@ class CarDummyDB:
150150 return self ._data.pop(idx)
151151```
152152## Add Controller
153- In ` car. controllers.py ` , lets create ` CarController `
153+ In ` car/ controllers.py ` , lets create ` CarController `
154154
155155``` python
156156import typing as t
@@ -198,7 +198,7 @@ class CarController(ControllerBase):
198198
199199```
200200## Register Service and Controller
201- In ` car. module.py ` , lets register ` CarController ` and ` CarDummyDB `
201+ In ` car/ module.py ` , lets register ` CarController ` and ` CarDummyDB `
202202
203203``` python
204204from ellar.common import Module
@@ -223,7 +223,7 @@ class CarModule(ModuleBase):
223223
224224
225225## Enabling OpenAPI Docs
226- To start up openapi, we need to go back to project folder in the ` carsite. server.py`
226+ To start up openapi, we need to go back to project folder in the ` server.py `
227227then add the following below.
228228``` python
229229import os
0 commit comments