Skip to content

staffTimeLog Swagger #15#19

Open
Tejaswi2002 wants to merge 1 commit into
mainfrom
issue15/timesheetYml
Open

staffTimeLog Swagger #15#19
Tejaswi2002 wants to merge 1 commit into
mainfrom
issue15/timesheetYml

Conversation

@Tejaswi2002

Copy link
Copy Markdown
Contributor

No description provided.

@Tejaswi2002 Tejaswi2002 changed the title staffTimeLog Swagger staffTimeLog Swagger #15 Jan 8, 2025
Comment thread staff-timesheet-api.yml
application/json:
schema:
type: object
properties:

@balaganesh-a balaganesh-a Jan 10, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a new schema definition for the data and refer from here. same applies for response body as well

Comment thread staff-timesheet-api.yml
/staff/time-log:
post:
tags:
- staffTimeLog

@balaganesh-a balaganesh-a Jan 10, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

staff-time-logging

Comment thread staff-timesheet-api.yml

openapi: 3.0.3
info:
title: Knowledge graph apis - OpenAPI 3.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change title to Timesheet Management apis

Comment thread staff-timesheet-api.yml
openapi: 3.0.3
info:
title: Knowledge graph apis - OpenAPI 3.0
description: |-

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change description as accordingly for Timesheet management apis

Comment thread staff-timesheet-api.yml
data:
type: object
properties:
timeLogs:

@balaganesh-a balaganesh-a Jan 10, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create new schema definition for timeLogs property and refer that. Same applies for response body as well

Comment thread staff-timesheet-api.yml
requestBody:
content:
application/json:
schema:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a new schema definiton for the request and refer that.
Same applies for response body as well

Comment thread staff-timesheet-api.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refer the knowledge-graph-api.yml for reference

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants