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
{{ message }}
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
Instead of supplying the schema string with lots of urls strings (that are mostly the same) it should be possible to shorten them. Also in case of a refactor there would be less code to change.
Idea:
new (object literal/string) option for function generateRestSchema: baseUri.
Every route directive option that does not start with a scheme (e.g. https://, http://) but has a uri directive option which matches a key of the baseUri option object is prefixed with the corresponding value.
The text was updated successfully, but these errors were encountered:
Instead of supplying the schema string with lots of urls strings (that are mostly the same) it should be possible to shorten them. Also in case of a refactor there would be less code to change.
Idea:
new (object literal/string) option for function
generateRestSchema
:baseUri
.Case 1:
baseUri
is a stringEvery
route
directive option that does not start with a scheme (e.g.https://
,http://
is prefixed with thebaseUri
Case 2:
baseUri
is a object literal:Every
route
directive option that does not start with a scheme (e.g.https://
,http://
) but has auri
directive option which matches a key of thebaseUri
option object is prefixed with the corresponding value.The text was updated successfully, but these errors were encountered: