updated swagger.json

This commit is contained in:
Deepak Prabhakara 2022-02-22 19:16:18 +00:00
parent bd44c3479c
commit 44607459e0
2 changed files with 9 additions and 25 deletions

View File

@ -60,12 +60,10 @@ export class APIController implements IAPIController {
* description: Name/identifier for the config
* type: string
* in: formData
* example: cal-saml-config
* - name: description
* description: A short description for the config not more than 100 characters
* type: string
* in: formData
* example: SAML login for cal.com app
* - name: encodedRawMetadata
* description: Base64 encoding of the XML metadata
* in: formData
@ -222,12 +220,10 @@ export class APIController implements IAPIController {
* description: Name/identifier for the config
* type: string
* in: formData
* example: cal-saml-config
* - name: description
* description: A short description for the config not more than 100 characters
* type: string
* in: formData
* example: SAML login for cal.com app
* - name: encodedRawMetadata
* description: Base64 encoding of the XML metadata
* in: formData
@ -241,25 +237,21 @@ export class APIController implements IAPIController {
* in: formData
* required: true
* type: string
* example: http://localhost:3000/login/saml
* - name: redirectUrl
* description: JSON encoded array containing a list of allowed redirect URLs
* in: formData
* required: true
* type: string
* example: '["http://localhost:3000/*"]'
* - name: tenant
* description: Tenant
* in: formData
* required: true
* type: string
* example: boxyhq.com
* - name: product
* description: Product
* in: formData
* required: true
* type: string
* example: demo
* responses:
* 204:
* description: Success

View File

@ -1,7 +1,7 @@
{
"info": {
"title": "SAML Jackson API",
"version": "0.4.0",
"version": "0.4.1",
"description": "This is the API documentation for SAML Jackson service.",
"termsOfService": "https://boxyhq.com/terms.html",
"contact": {
@ -52,15 +52,13 @@
"name": "name",
"description": "Name/identifier for the config",
"type": "string",
"in": "formData",
"example": "cal-saml-config"
"in": "formData"
},
{
"name": "description",
"description": "A short description for the config not more than 100 characters",
"type": "string",
"in": "formData",
"example": "SAML login for cal.com app"
"in": "formData"
},
{
"name": "encodedRawMetadata",
@ -163,15 +161,13 @@
"name": "name",
"description": "Name/identifier for the config",
"type": "string",
"in": "formData",
"example": "cal-saml-config"
"in": "formData"
},
{
"name": "description",
"description": "A short description for the config not more than 100 characters",
"type": "string",
"in": "formData",
"example": "SAML login for cal.com app"
"in": "formData"
},
{
"name": "encodedRawMetadata",
@ -190,32 +186,28 @@
"description": "The redirect URL to use in the IdP login flow",
"in": "formData",
"required": true,
"type": "string",
"example": "http://localhost:3000/login/saml"
"type": "string"
},
{
"name": "redirectUrl",
"description": "JSON encoded array containing a list of allowed redirect URLs",
"in": "formData",
"required": true,
"type": "string",
"example": "[\"http://localhost:3000/*\"]"
"type": "string"
},
{
"name": "tenant",
"description": "Tenant",
"in": "formData",
"required": true,
"type": "string",
"example": "boxyhq.com"
"type": "string"
},
{
"name": "product",
"description": "Product",
"in": "formData",
"required": true,
"type": "string",
"example": "demo"
"type": "string"
}
],
"responses": {