Manager API: fix doc
This commit is contained in:
parent
4699a1accb
commit
220852b83f
@ -2283,7 +2283,7 @@ public class CasappApiExample {
|
|||||||
CasappApi apiInstance = new CasappApi();
|
CasappApi apiInstance = new CasappApi();
|
||||||
String serviceUrl = serviceUrl_example; // String | Service URL to search
|
String serviceUrl = serviceUrl_example; // String | Service URL to search
|
||||||
try {
|
try {
|
||||||
array[CasApp] result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
|
CasApp result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling CasappApi#findCasAppsByServiceUrl");
|
System.err.println("Exception when calling CasappApi#findCasAppsByServiceUrl");
|
||||||
@ -2302,7 +2302,7 @@ public class CasappApiExample {
|
|||||||
CasappApi apiInstance = new CasappApi();
|
CasappApi apiInstance = new CasappApi();
|
||||||
String serviceUrl = serviceUrl_example; // String | Service URL to search
|
String serviceUrl = serviceUrl_example; // String | Service URL to search
|
||||||
try {
|
try {
|
||||||
array[CasApp] result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
|
CasApp result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling CasappApi#findCasAppsByServiceUrl");
|
System.err.println("Exception when calling CasappApi#findCasAppsByServiceUrl");
|
||||||
@ -2322,7 +2322,7 @@ CasappApi *apiInstance = [[CasappApi alloc] init];
|
|||||||
|
|
||||||
// Finds CAS applications by Service URL
|
// Finds CAS applications by Service URL
|
||||||
[apiInstance findCasAppsByServiceUrlWith:serviceUrl
|
[apiInstance findCasAppsByServiceUrlWith:serviceUrl
|
||||||
completionHandler: ^(array[CasApp] output, NSError* error) {
|
completionHandler: ^(CasApp output, NSError* error) {
|
||||||
if (output) {
|
if (output) {
|
||||||
NSLog(@"%@", output);
|
NSLog(@"%@", output);
|
||||||
}
|
}
|
||||||
@ -2373,7 +2373,7 @@ namespace Example
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Finds CAS applications by Service URL
|
// Finds CAS applications by Service URL
|
||||||
array[CasApp] result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
|
CasApp result = apiInstance.findCasAppsByServiceUrl(serviceUrl);
|
||||||
Debug.WriteLine(result);
|
Debug.WriteLine(result);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
@ -2476,7 +2476,7 @@ except ApiException as e:
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2>Responses</h2>
|
<h2>Responses</h2>
|
||||||
<h3> Status: 200 - Return a list of CAS Providers </h3>
|
<h3> Status: 200 - Return a CAS Provider </h3>
|
||||||
|
|
||||||
<ul class="nav nav-tabs nav-tabs-examples" >
|
<ul class="nav nav-tabs nav-tabs-examples" >
|
||||||
<li class="active">
|
<li class="active">
|
||||||
@ -2491,15 +2491,11 @@ except ApiException as e:
|
|||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var schemaWrapper = {
|
var schemaWrapper = {
|
||||||
"description" : "Return a list of CAS Providers",
|
"description" : "Return a CAS Provider",
|
||||||
"content" : {
|
"content" : {
|
||||||
"application/json" : {
|
"application/json" : {
|
||||||
"schema" : {
|
"schema" : {
|
||||||
"type" : "array",
|
"$ref" : "#/components/schemas/CasApp"
|
||||||
"items" : {
|
|
||||||
"$ref" : "#/components/schemas/CasApp"
|
|
||||||
},
|
|
||||||
"x-content-type" : "application/json"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -415,7 +415,7 @@ paths:
|
|||||||
example: http://mycasapp.example.com/
|
example: http://mycasapp.example.com/
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/responses/ManyCasApp'
|
$ref: '#/components/responses/OneCasApp'
|
||||||
400:
|
400:
|
||||||
$ref: '#/components/responses/Error'
|
$ref: '#/components/responses/Error'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user