Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #372 update openapi-inject to add cache explore endpoint #373

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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