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

Enable multiple API specs for each product #20

Closed
evegufy opened this issue Sep 25, 2024 · 0 comments
Closed

Enable multiple API specs for each product #20

evegufy opened this issue Sep 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@evegufy
Copy link
Contributor

evegufy commented Sep 25, 2024

Description

Currently the api-hub is enabled to provide one swagger-ui for each product.
In case that a product provides multiple API specs, the api-hub provides a swagger-ui for just one of the provided specs.

The goal of this issue is to enable the api-hub to provide one swagger-ui for each provided API spec.
This can be achieved by rearranging the directory structure, which is the basis to provide swagger-ui's in a later step.

I also looked into configuring the urls parameter and enabling the TopBar to manage multiple specs with one swagger-ui but as it would require to list all API specs, I decided that rearranging the directory structure would be the solution with the better effort/benefit ratio.

Additional Information

relates to eclipse-tractusx/portal-backend#1021, eclipse-tractusx/portal-backend#1030
eclipse-tractusx/sig-release#804

@evegufy evegufy added the enhancement New feature or request label Sep 25, 2024
@evegufy evegufy self-assigned this Sep 25, 2024
evegufy added a commit that referenced this issue Sep 25, 2024
- add script to move multiple OpenAPI specs files in one directory into individual directories
- change to directory path for listing of directories in index.html to enable directory listings also in those individual directories
#20
@evegufy evegufy closed this as completed Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant