Skip to content

Commit

Permalink
OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
oklemenz2 committed Feb 21, 2025
1 parent fa3ab71 commit 52e46cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion openapi/SchedulingProviderService.openapi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "The Scheduling Service Provider Interface of SAP Advanced Financial Closing allows the integration of third-party scheduling systems with SAP Advanced Financial Closing. It includes the retrieval of job definitions, as well as the scheduling and synchronization of jobs.",
"version": "1.0.0"
},
"x-sap-shortText": "SAP Advanced Financial Closing Scheduling Service Provider Interface",
"x-sap-shortText": "Defines how an application can integrate with SAP Advanced Financial Closing scheduling service",
"servers": [
{
"url": "/api/job-scheduling/v1"
Expand Down Expand Up @@ -1321,6 +1321,7 @@
"type": "oauth2",
"flows": {
"clientCredentials": {
"tokenUrl": "https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token",
"scopes": {}
}
}
Expand Down
3 changes: 2 additions & 1 deletion srv/scheduling/provider-service.cds
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ using scheduling from '../../db/scheduling';
Name : 'oauth2',
Description: 'To access this API, use the OAuth 2.0 client credentials grant flow.',
Scopes : [],
TokenUrl : 'https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token'
}],
SecuritySchemes: [{Authorization: 'oauth2'}]
}
@openapi
@protocol : 'rest'
@(path: '/api/job-scheduling/v1')
@title : 'SAP Advanced Financial Closing Scheduling Service Provider Interface'
@Core.Description : 'SAP Advanced Financial Closing Scheduling Service Provider Interface'
@Core.Description : 'Defines how an application can integrate with SAP Advanced Financial Closing scheduling service'
@Core.LongDescription: 'The Scheduling Service Provider Interface of SAP Advanced Financial Closing allows the integration of third-party scheduling systems with SAP Advanced Financial Closing. It includes the retrieval of job definitions, as well as the scheduling and synchronization of jobs.'
@impl : '@cap-js-community/sap-afc-sdk/srv/scheduling/provider-service.js'
service SchedulingProviderService {
Expand Down

0 comments on commit 52e46cd

Please sign in to comment.