Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hj
openApi
Commits
7431c6c1
Commit
7431c6c1
authored
Mar 09, 2023
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百化产品接口更新
parent
ba1f3c39
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
server/app/Http/Controllers/Swagger/Responses/Bhua/BhuaProductsList.php
...p/Controllers/Swagger/Responses/Bhua/BhuaProductsList.php
+2
-2
server/app/Http/Controllers/Swagger/Responses/Bhua/Properties/BhuaProductsDetailProperty.php
.../Responses/Bhua/Properties/BhuaProductsDetailProperty.php
+3
-3
server/app/Http/Controllers/V1/Bhua/ProductsController.php
server/app/Http/Controllers/V1/Bhua/ProductsController.php
+1
-1
No files found.
server/app/Http/Controllers/Swagger/Responses/Bhua/ProductsList.php
→
server/app/Http/Controllers/Swagger/Responses/Bhua/
Bhua
ProductsList.php
View file @
7431c6c1
...
...
@@ -24,7 +24,7 @@ use OpenApi\Annotations\Items;
*
* @package App\Http\Responses
*/
class
ProductsList
extends
JsonResponse
class
Bhua
ProductsList
extends
JsonResponse
{
/**
* @Property(
...
...
@@ -49,7 +49,7 @@ class ProductsList extends JsonResponse
/**
* @Property(
* type="array",
* @Items(ref="#/components/schemas/ProductsDetailProperty")
* @Items(ref="#/components/schemas/
Bhua
ProductsDetailProperty")
* )
*
* @var array
...
...
server/app/Http/Controllers/Swagger/Responses/Bhua/Properties/ProductsDetailProperty.php
→
server/app/Http/Controllers/Swagger/Responses/Bhua/Properties/
Bhua
ProductsDetailProperty.php
View file @
7431c6c1
...
...
@@ -7,11 +7,11 @@ use OpenApi\Annotations\Property;
/**
* @Schema(
* title="品牌详情内容",
* description="品牌详情内容"
* title="品牌
产品
详情内容",
* description="品牌
产品
详情内容"
* )
*/
class
ProductsDetailProperty
class
Bhua
ProductsDetailProperty
{
/**
* @Property(
...
...
server/app/Http/Controllers/V1/Bhua/ProductsController.php
View file @
7431c6c1
...
...
@@ -132,7 +132,7 @@ class ProductsController extends Controller
* @Schema(ref="#/components/schemas/ApiResponse"),
* @Schema(
* type="object",
* @Property(property="data", ref="#/components/schemas/ProductsList")
* @Property(property="data", ref="#/components/schemas/
Bhua
ProductsList")
* )
* }
* )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment