You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to a fairly large resulting spec file and different audience i have split my specs into a couple files.
Though i also want to make use of openapi-first gem which only supports providing a single spec. Is there a way to have endpoints added to multiple specs that i defined in swagger_helper.rb ?
I tried with making swagger_doc checking an argument passed to rails rswag to direct all into a spec named "complete.yaml" but this would also remove them from the intended split specs at the same time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Due to a fairly large resulting spec file and different audience i have split my specs into a couple files.
Though i also want to make use of openapi-first gem which only supports providing a single spec. Is there a way to have endpoints added to multiple specs that i defined in swagger_helper.rb ?
I tried with making swagger_doc checking an argument passed to
rails rswag
to direct all into a spec named "complete.yaml" but this would also remove them from the intended split specs at the same time.Beta Was this translation helpful? Give feedback.
All reactions