-
Notifications
You must be signed in to change notification settings - Fork 612
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
Any Tips and Tricks? #718
Comments
Authentication is currently a tricky issue. The best thing you can do for now is add an "Authorization" header with your token (or query/body parameters) for when the response call is made. Maybe this is something we can tackle in greater detail in v5.
Usually this means that the factory attempt failed. Try running with
Whichever is easier for you. It's probably easier to keep a separate database up to date than manually manage response files.
Right now, you can't do that. However you can use the each of the @response* tags in conjunction with status codes to indicate different responses, including multiple responses for the same status code. Something like:
We can probably add some feature to improve this going forward. Maybe something like
...
You add it in the description of that field.
Probably, but that's an opporutnity that someone else can pick up. I'm not into creating video tutorials. Anyone in the community can do that. The documentation is pretty comprehensive (I hope), and if you see something that isn't clear, you're welcome to send in a PR. In the future, we're looking to make the docs more guide-y, not just reference materials, so you can also point out any places you think are lacking.. |
Hi @lucadegasperi I'm closing this issue since I don't have the permissions to transfer to another repository. Scribe has been released now, so you shuoold open this issue in that repo if you still think it's relevant. In the meantime, the docs for Scribe have been revamped to make things clearer, and we'll also be releasing some more helpful material in the near future. |
Hi Everyone!
I've recently started using this package to document my APIs and, while the documentation is great at showing what can be done / cannot be done, I have found some difficulties around the best way of documenting my apis. Here are some questions I haven't found an answer yet.
@apiResourceCollection
and@apiResourceModel
attributes why is it not creating the response from a factory I have defined and is using my db to get the first model?I think this package is great but it lacks something like a video tutorial that explains what the different configuration options and parameters do and why should I choose one way of doing things rather than another.
The text was updated successfully, but these errors were encountered: