Earlier quoted context omitted.
I'm not here to defend AWS but I'm a bit puzzled by your comment about the Boto3 doco. Here's some sample usage for instance which clearly is something more than "automatically generated" https://boto3.amazonaws.com/v1/documentation/api/latest/guid... .
Not the docs, the library code is (for the most part) automatically generated This is actually a good example of how the thing works, you have to use MessageBody as an argument name to send the message. Or use the Entries argument Those names and that usage style are far from Pythonic
“This is the worst documentation I have ever seen in my life”
81–90 of 112 posts
Re: “This is the worst documentation I have ever seen in my life”
#82I feel like linking directly to issue pages incites brigading. This HN post seems like a direct attack on the maintainers (not the actual issue). Look at the new comments posted since this link hit frontpage. Not helpful, and in fact HARMFUL to open source at large. This is irresponsible.
I would agree if this linked to a small project or someone's personal open-source project. However, this is the repository to the public documentation of Amazon's API. This is not the source code to a website somewhere. This is the actual documentation. You ask Amazon for the documentation and they link you to that repository. This is a company with a revenue of $96.1 billion that relies on sellers to fill its market…
- Seller relations and developer experience
- Marketplace and human resource ethics
- ?
Re: “This is the worst documentation I have ever seen in my life”
#83Just an FYI. This is about Amazon's MWS API, which is Merchant Web Services, used to interact with the Amazon part of Amazon not the AWS side of Amazon. Also having working on an OSS Ruby library for it, and having to had work with it quite a bit, I can confirm. The MWS APIs leave a lot to be desired of, but they are an absolute gem compared to the Ebay APIs. My take on the problem is that these APIs were developed i…
This is not the MWS API. The MWS Api was indeed written more than 10 years ago but is much better than this new "REST" api. This is Selling Partner API which was released few months back and is intended to replace MWS.
Re: “This is the worst documentation I have ever seen in my life”
#84Just an FYI. This is about Amazon's MWS API, which is Merchant Web Services, used to interact with the Amazon part of Amazon not the AWS side of Amazon. Also having working on an OSS Ruby library for it, and having to had work with it quite a bit, I can confirm. The MWS APIs leave a lot to be desired of, but they are an absolute gem compared to the Ebay APIs. My take on the problem is that these APIs were developed i…
Re: “This is the worst documentation I have ever seen in my life”
#85I know it doesn't solve all the aspects of how broken this documentation is: but here's a pull request that somewhat tries to address it. The Pull Request: https://github.com/amzn/selling-partner-api-docs/pull/209 The Deployed Docs: https://docs.contour.so/amzn/selling-partner-api-docs Lots of bugs still to fix but hopefully it's helpful to anyone. Super open to any feedback! ---- Edit: To make it clear, the docs are…
Also, I do not think contour.so addresses any of the real concerns about the documentation.
Re: “This is the worst documentation I have ever seen in my life”
#86Earlier quoted context omitted.
That's definitely something that's still missing in technical documentation. The tooling still isn't there yet, and that's sad. Every change in API or behaviour should be automatically blocked by CI tooling in release builds if its documentation is missing or outdated. But alas, even in 2020 technical documentation is still just an afterthought for most companies - even big ones.
My company is currently trialing this with the Open API Spec. The workflow at a high level: 1) Make code changes to a specific microservice. (note: The Open API Spec also lives in code.) 2) CI/CD pipelines get triggered. 3) New microservice is built. 4) Call every REST endpoint defined in the microservice's Open API Spec and validate it using the example requests/responses. 5) If successful, regenerate the API docume…
It's somewhat specific to golang but so far it has been relatively good for us.
The spec is directly next to the code as code comments, so it has far more chances to get updated when changes are made compared to an external documentation.
Also, the payloads and responses are directly derived from the Golang structs, so, at least on that aspect, changes in the code are automatically reflected in the spec (apart for description and examples).
We also put the interactive documentation directly in our API under /doc. It is a useful tool for developers when implementing a new url/handler or modifying an existing one. It also creates incentives to keep the documentation matching.
Overall, we had very few mismatches between the spec and the actual implementation overall, despite not having deeply tested it (be it manually or automatically). Apart from one or two mismatches that were fixed quickly, I was able to take the spec, generate client libraries from it (swagger-codegen), and use them for quite extensive demos without issues.
We are still early in the project (not in production yet), and there are definitely some aspects we need to improve (integration/automated tests to be sure doc and code are 100% matching) or to completely figure out (ex: how to handle several versions of the same API). But overall, using swaggo/swag has been a pleasant experience.
Re: “This is the worst documentation I have ever seen in my life”
#87Re: “This is the worst documentation I have ever seen in my life”
#88Those directed graph traversal interview questions really contributed to the quality of these documents.
Re: “This is the worst documentation I have ever seen in my life”
#89Earlier quoted context omitted.
fair but wildly off-topic.
no no the topic of this post is "amazon bad"
and the conditions have only been improving, and with more robots, the number of warehouse workers will only keep getting less. drivers on the other hand is a different story..
Re: “This is the worst documentation I have ever seen in my life”
#90I know it doesn't solve all the aspects of how broken this documentation is: but here's a pull request that somewhat tries to address it. The Pull Request: https://github.com/amzn/selling-partner-api-docs/pull/209 The Deployed Docs: https://docs.contour.so/amzn/selling-partner-api-docs Lots of bugs still to fix but hopefully it's helpful to anyone. Super open to any feedback! ---- Edit: To make it clear, the docs are…
Sure, it makes navigating this version of the docs slightly easier, but this doesn't seem to be a good-faith attempt at actually improving the documentation so much as promoting your service.