-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Set url/token with policy #445
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
Conversation
| }, | ||
| { | ||
| "name": "peltarionbody", | ||
| "in": "header", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andvra The summary and description says it is body parameter, but definition says "in":"header". If it is body parameter that expects json object, it should have "type":"object".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our platform expects body tags with a number of different structures, so it won't match a specific schema, which is required if we send this as a body. Therefore, we stringify the body and send it as a header parameter.
| "title": "Query token", | ||
| "parameters": { | ||
| "x-ms-apimTemplateParameter.name": "code", | ||
| "x-ms-apimTemplateParameter.value": "FHWJvOJnrrBz8v7DOWoABLS1K2e9Im6q7YalAthQMGkqTa57jDYm/w==", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andvra It seems to be some shared key to access your service.
- Please note that this key is publicly visible to anyone.
- You may place into connection parameters (as url and token) and share the key with your customers explicitly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noting. The code isn't needed, so removed it from the code now.
Please check the following conditions for your PR.
apiDefinition.swagger.jsonis validated usingpaconn validatecommand.apiProperties.jsonhas a valid brand color. Invalid brand colors are#007ee5and#ffffff.