Skip to content

Added error code 501 [Not Implemented]#3

Open
ravindrapalaskar17 wants to merge 2 commits intoImplement-error-code-501from
draft/Implement-error-code-501
Open

Added error code 501 [Not Implemented]#3
ravindrapalaskar17 wants to merge 2 commits intoImplement-error-code-501from
draft/Implement-error-code-501

Conversation

@ravindrapalaskar17
Copy link
Copy Markdown
Owner

No description provided.

@ravindrapalaskar17 ravindrapalaskar17 self-assigned this Jan 11, 2023
example:
code: NOT_FOUND
message: "Session Id does not exist"
Generic501:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The schema is not used ... as the same details are defined already within the response above?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Yes.. right... I think we can remove this schema...!!! As 501 (NOT_IMPLEMENTED) error code is required only for /sessions not for /get sessions/{sessionId} , /delete session and /notifications

because only in create sessions we required UE identifiers in all other request we required session id which is not UE so we don't need Generic501 schema above 501 response is sufficient....

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Committed code with the changes. Kindly have a look

Removed Generic501 Schema as the same details are defined already within the above response.
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.8.0
version: 0.9.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Don't change the version number in the PR, we will define it when releasing a version to be used (most probably this change will go into v0.8.1).

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Ok.. Should I keep 0.8.0 or make it 0.8.1..?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

keep 0.8.0

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

ok

example:
code: NOT_FOUND
message: "Session Id does not exist"
message: "Session Id does not exist"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What is the change here? Is it needed?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

There is No any Changes there. I just removed Generic501 schema from below that line there might be some "Indentation or spaces removed"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There seem to be 3-4 extra spaces. It cosmetic but would be easy to get rid of them.

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