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

Admin Rest API swagger definition issues #4545

Open
chamilaadhi opened this issue Sep 18, 2017 · 2 comments
Open

Admin Rest API swagger definition issues #4545

chamilaadhi opened this issue Sep 18, 2017 · 2 comments

Comments

@chamilaadhi
Copy link
Contributor

This JIRA is to list any issues identified in the admin rest api swagger definition

@chamilaadhi
Copy link
Contributor Author

chamilaadhi commented Sep 18, 2017

Policy creation payload has a 'type' element which is not used. Need to remove it.

#-----------------------------------------------------
The Throttle Policy resource
#-----------------------------------------------------
ThrottlePolicy :
discriminator: id
title: Generic Throttle Policy
required:
- policyName
- type
properties:
id:
type: string
policyName:
type: string
displayName:
type: string
description:
type: string
isDeployed:
type: boolean
default: false
type:
type: string
description: |
ApplicationThrottlePolicy, SubscriptionThrottlePolicy and AdvancedThrottlePolicy are the supported values.

@chamilaadhi
Copy link
Contributor Author

chamilaadhi commented Sep 21, 2017

Define enum for constants.
Ex: billingPlan: FREE, COMMERCIAL
defaultLimit.unitTime: 'min', 'hour', 'day', 'week', 'month', 'year',
bandwidthLimit.dataUnit: MB. KB
rateLimitTimeUnit: 'sec', 'min'
defaultLimit.type: bandwidthVolume, requestCount

(Above are taken from AM 2.1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant