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
Copy file name to clipboardexpand all lines: README.md
+30-22
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ Welcome to the **Automatic Frontend Generation Framework**! This project aims to
9
9
10
10
This framework is specifically designed for backend developers and teams who need a functional, customizable frontend without diving deep into frontend technologies. By using configuration files such as the **Page Configuration File** and **User Customization Files**, along side with the **OpenAPI Specification**, the framework ensures that the frontend is always in sync with the backend while allowing flexibility in styling and structure.
-**Automatic React Frontend Generation**: Quickly generate fully functional React frontends from your API definitions.
14
16
-**Customizable Components and Pages**: Modify predefined styles or create custom page-specific styles with ease.
@@ -77,7 +79,7 @@ iv. `pages.xml` File:
77
79
78
80
79
81
### 2: Add Input Files
80
-
#### i. OpenAPI Specification
82
+
#### I. OpenAPI Specification
81
83
The framework requires specific custom extensions in the OpenAPI Specification for it to function correctly and leverage its full capabilities. Below is an explanation of each required extension, where it must be included, and its purpose:
82
84
83
85
@@ -134,7 +136,7 @@ The framework does not support defining schemas directly inside the paths object
The Pages Configuration File defines the structure and layout of the frontend pages to be generated. This includes support for components, routes, and navigation bars, offering greater flexibility and customization.
139
141
140
142
#### Structure
@@ -275,6 +277,7 @@ The configuration file is an XML document containing <pages> as the root element
275
277
- A form based on URL parameters and schema properties defined in an OpenAPI Specification (OAS) resource.
276
278
- **Functionality:**
277
279
- Uses `<resource>` to define the API endpoint for form submission.
280
+
- Uses `<text>` to define the form title
278
281
- Uses `<submit>` to specify the button label for submitting the form.
279
282
- Can define a `<result>` component to display responses.
280
283
@@ -391,30 +394,35 @@ The configuration file is an XML document containing <pages> as the root element
The User Customization Files allows users to customize the appearance and behavior of the generated frontend. These files are part of the `styles` folder, which is created after running the initialization command.
0 commit comments