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

Ability to merge docs #45

Closed
DenTray opened this issue May 3, 2022 · 13 comments · Fixed by #108
Closed

Ability to merge docs #45

DenTray opened this issue May 3, 2022 · 13 comments · Fixed by #108

Comments

@DenTray
Copy link
Collaborator

DenTray commented May 3, 2022

Ability to set additional swagger docs in the config file to show it.

Will be helpful for using packages which provides endpoints.

pirs1337 added a commit that referenced this issue Jul 30, 2022
pirs1337 added a commit that referenced this issue Jul 30, 2022
pirs1337 added a commit that referenced this issue Jul 30, 2022
pirs1337 added a commit that referenced this issue Jul 30, 2022
pirs1337 added a commit that referenced this issue Jul 30, 2022
pirs1337 added a commit that referenced this issue Aug 6, 2022
pirs1337 added a commit that referenced this issue Aug 6, 2022
pirs1337 added a commit that referenced this issue Aug 7, 2022
pirs1337 added a commit that referenced this issue Aug 7, 2022
pirs1337 added a commit that referenced this issue Aug 13, 2022
pirs1337 added a commit that referenced this issue Aug 13, 2022
pirs1337 added a commit that referenced this issue Aug 13, 2022
pirs1337 added a commit that referenced this issue Aug 19, 2022
pirs1337 added a commit that referenced this issue Sep 15, 2022
DenTray added a commit that referenced this issue Sep 19, 2022
@pirs1337 pirs1337 assigned DenTray and pirs1337 and unassigned pirs1337, alinoksha and DenTray Oct 31, 2022
pirs1337 added a commit that referenced this issue Oct 31, 2022
DenTray added a commit that referenced this issue Nov 2, 2022
#45:- fix: fix showing of type when rule is int
@DenTray DenTray assigned DenTray and unassigned pirs1337 Nov 3, 2022
@NikitaYakovlev
Copy link

@DenTray work as expected:

image

@DenTray
Copy link
Collaborator Author

DenTray commented Mar 28, 2023

I've found a one bug, the documentation view will be broken if we set invalid file name inside the additional_paths config

image

image

@vitgrams could you please fix it?

@DenTray DenTray assigned vitgrams and unassigned DenTray Mar 28, 2023
DenTray added a commit that referenced this issue Mar 30, 2023
…alid_additional_path

#45: Check file existence when parsing additional doc files
@DenTray
Copy link
Collaborator Author

DenTray commented Mar 30, 2023

@vitgrams please also fix next cases:

  • set non json file as additional doc
  • set non open api json file

@DenTray DenTray added this to the 2.2 milestone Jun 20, 2023
@DenTray DenTray assigned Goodmain and unassigned vitgrams Sep 25, 2023
@DenTray
Copy link
Collaborator Author

DenTray commented Sep 25, 2023

@Goodmain please proceed with this one, we already has #82 for it

DenTray added a commit that referenced this issue Oct 2, 2023
…alid_additional_path

#45: Add swagger spec validator to validate temp and additional doc format
@Goodmain
Copy link
Contributor

Goodmain commented Oct 2, 2023

@DenTray Done and merged

@Goodmain Goodmain assigned DenTray and unassigned Goodmain Oct 2, 2023
@DenTray
Copy link
Collaborator Author

DenTray commented Oct 16, 2023

@Goodmain I've tested and found few enhancements:

  1. Let's also report empty file and not exists file cases as exceptions
  2. Let's add reference to validatable file to the exception

@DenTray
Copy link
Collaborator Author

DenTray commented Oct 23, 2023

@Goodmain exceptions works fine, but it fail documentation view now, could you please catch and report such exceptions as it works with the OpenAPIValidator Spec?

DenTray added a commit that referenced this issue Oct 27, 2023
…or-not-exist-file

feat: catch and report exception during Open-Api file validation (#45)
@DenTray
Copy link
Collaborator Author

DenTray commented Oct 27, 2023

@Goodmain works well now, thanks!

@DenTray
Copy link
Collaborator Author

DenTray commented Nov 7, 2023

Released in 2.2 version

@DenTray DenTray closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants