Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on api-name, filenames and servers object #333

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

rartych
Copy link
Collaborator

@rartych rartych commented Nov 6, 2024

What type of PR is this?

  • correction

What this PR does / why we need it:

Missing guideline for file names of API definition files, indirect definition of api-name variable.
This PR adds the definition of api-name to Common Vocabulary and Acronyms and clarifies the name of API definition files and servers object content

Which issue(s) this PR fixes:

Fixes #298 #284

Does this PR introduce a breaking change?

  • Yes
  • No

Special notes for reviewers:

Do we need similar definition of 'api-version'?
JSON format is not currently used in any subproject, should the file extension .json be removed?

Changelog input

 Clarifications on api-name, filenames and servers object

Additional documentation

* Update API-design-guidelines.md

* Update API-design-guidelines.md

* Clarifications on api-name, filenames and servers object

* Revert "Update API-design-guidelines.md"

This reverts commit 1353c82.

---------

Co-authored-by: rartych <rafal.artych@t-mobile.com>
@rartych rartych added documentation Improvements or additions to documentation Spring25 labels Nov 18, 2024
Copy link
Collaborator

@gmuratk gmuratk left a comment

Choose a reason for hiding this comment

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

Statement about the servers[*].url looks good to me.

PedroDiez
PedroDiez previously approved these changes Nov 22, 2024
Copy link
Collaborator

@PedroDiez PedroDiez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@shilpa-padgaonkar shilpa-padgaonkar left a comment

Choose a reason for hiding this comment

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

/LGTM

Copy link
Collaborator

@patrice-conil patrice-conil left a comment

Choose a reason for hiding this comment

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

typo: only "ly" remains for respectively

@@ -927,7 +928,7 @@ And according to the filtering based on string and enums data, being searched fo
**Additional rules**:
- The operator "`&`" is evaluated as an AND between different attributes.
- A Query Param (attribute) can contain one or n values separated by "`,`".
- For operations on numeric, date or enumerated fields, the parameters with the suffixes `.(gte|gt|lte|lt)$` need to be defined, which should be used as comparators for “greater—equal to, greater than, smaller—equal to, smaller than” respectively. Only the parameters needed for given field should be defined e.g., with `.gte` and `.lte` suffixes only.
- For operations on numeric, date or enumerated fields, the parameters with the suffixes `.(gte|gt|lte|lt)$` need to be defined, which should be used as comparators for “greater—equal to, greater than, smaller—equal to, smaller than” ly. Only the parameters needed for given field should be defined e.g., with `.gte` and `.lte` suffixes only.
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo: only "ly" remains for respectively

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Corrected in 7c05167

@rartych rartych dismissed stale reviews from shilpa-padgaonkar and PedroDiez via 7c05167 November 25, 2024 09:26
Copy link
Collaborator

@PedroDiez PedroDiez left a comment

Choose a reason for hiding this comment

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

LGTM

@rartych rartych merged commit ecb1b7f into camaraproject:main Nov 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Spring25
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Further clarifying statement for api-name
5 participants