Skip to content

Commit

Permalink
fixes #372 update openapi-inject to add cache explore endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Jun 18, 2024
1 parent 3638fa1 commit 9f7368a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions openapi-config/src/main/resources/config/openapi-inject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,30 @@ paths:
application/json:
schema:
type: object
/adm/cache/{name}:
get:
description: get all cache names in a list or all items in a map
parameters:
- name: name
in: path
description: Cache Name
required: true
schema:
type: string
security:
- admin-scope:
# okta doesn't support either for now
# for control pane to access all businesses' admin endpoints
- admin
# for each business to access their own admin endpoints
- ${server.serviceId:com.networknt.placeholder-1.0.0}/admin
responses:
'200':
description: A JSON object of cache items
content:
application/json:
schema:
type: object

components:
securitySchemes:
Expand Down

0 comments on commit 9f7368a

Please sign in to comment.