Skip to content

fix: OpenAPI Specification#182

Merged
glpatcern merged 8 commits intocs3org:developfrom
MahdiBaghbani:fix-openapi-specification
Jun 2, 2025
Merged

fix: OpenAPI Specification#182
glpatcern merged 8 commits intocs3org:developfrom
MahdiBaghbani:fix-openapi-specification

Conversation

@MahdiBaghbani
Copy link
Member

@MahdiBaghbani MahdiBaghbani commented May 31, 2025

Related to PR #181

  • Added servers section to remove the URL parts before the / in the paths, Also beneficial when testing a live EFSS by simply entering its base URL and then playing with the commands in Swagger UI
    Screenshot 2025-05-31 171238
    Screenshot 2025-05-31 171252

  • Fixed the patternProperties by removing it and moving the known parts under protocols and optional arbitrary protocols under additionalProperties, seems to fix the swagger validator
    Screenshot 2025-05-31 170900

  • Added an example for RO-Crate as an optional protocol
    Screenshot 2025-05-31 170809

@MahdiBaghbani MahdiBaghbani self-assigned this May 31, 2025
@MahdiBaghbani MahdiBaghbani force-pushed the fix-openapi-specification branch 4 times, most recently from f15dedf to 0dcea93 Compare May 31, 2025 15:23
Copy link
Member

@mickenordin mickenordin left a comment

Choose a reason for hiding this comment

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

LGTM

@glpatcern
Copy link
Member

Merging #181 first and then this one

@glpatcern
Copy link
Member

glpatcern commented Jun 2, 2025

Hm GitHub didn't understand that this PR was based on top of #181, @MahdiBaghbani could you please rebase?

Also, I have a comment on the talk example, if you didn't figure out the payload used by Nextcloud maybe better to remove it. The current example does not seem right (a talk does not have read+write permission)

@MahdiBaghbani MahdiBaghbani force-pushed the fix-openapi-specification branch from 0dcea93 to 7a245ed Compare June 2, 2025 13:45
@MahdiBaghbani MahdiBaghbani force-pushed the fix-openapi-specification branch 2 times, most recently from 6fc7d88 to 4cd56fe Compare June 2, 2025 13:50
@MahdiBaghbani MahdiBaghbani requested a review from glpatcern June 2, 2025 13:51
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
@MahdiBaghbani MahdiBaghbani force-pushed the fix-openapi-specification branch from 4cd56fe to 3b65218 Compare June 2, 2025 14:09
@MahdiBaghbani MahdiBaghbani changed the title Fix OpenApi specification fix: OpenAPI Specification Jun 2, 2025
@glpatcern glpatcern merged commit f0ab6e0 into cs3org:develop Jun 2, 2025
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.

3 participants

Comments