154 karma · joined Jan 31, 2012 (14y ago) · 66 submissions
comment 9y ago · link · parent
Basically, you setup test cases for your API(s), and we automatically contract test the inputs/outputs of the requests against your OAS specification where possible. If anything does not validate against the schemas defined in your OAS specification, the test will fail with descriptive errors. If your OAS is ever updated, those changes will automatically work in the tests, since the tests are just referencing the OAS spec (not duplicating data from it).
A couple more things:
- You can create these tests with our visual UI, or write the underlying JSON that describes the tests by hand.
- You can run the tests inside of our UI, or install Prism (our command line runner) to run them completely outside of Stoplight (CI, terminal, etc).
- We plan to support OAS3 later in Q4 of this year.
We live and breathe API tooling and specifications. If you have any questions about process, our product, API strategy, etc, happy to chat - just shoot me an email at marc [at] stoplight.io!
comment 10y ago · link · parent
3.
Show HN: Prism – The perfect OAS (Swagger 2) companion(stoplight.io ↗)
5 points · by marbemac · 10y ago · 1 comment
comment 10y ago · link · parent
In the "settings" tab for each endpoint, you can mark which security schemes apply to the endpoint. It's kind of hidden, we're moving it to the general definition tab. Also, that info will be exposed in api-docs (which security schemes an endpoint requires/supports) in an update later this week!
comment 10y ago · link · parent
comment 10y ago · link · parent
From the API Designer (which is private), you can optionally publish any of your API versions out to api-docs.io, for public consumption. You don't even need to publish your entire API definition out - you can mark which endpoints/models are private versus public. Only the parts of your internal docs marked as public will be published out :).
comment 10y ago · link · parent
The hosted documentation integration is completely free - we have a paid option coming soon, that adds custom domains, theming, analytics, etc.
Eager to hear what you think - let us know!
comment 10y ago · link · parent
They blogged about their experience so far with our tools here: https://sendgrid.com/blog/using-a-prototype-as-an-api-produc...
comment 10y ago · link · parent
Prism processes the traffic that passes through it, and generates your spec code from that. It can identify dynamic parameters in the url, build json schemas, etc.
Here's a little post + video we put together: https://medium.com/oh-what-a-wonderful-web/how-to-generate-2...
And another, demonstrating a slightly different process of generating spec code from the Peach mobile app API traffic:
13.
How to generate 2,000 lines of specification code in 60 seconds(medium.com ↗)
10 points · by marbemac · 10y ago · discuss
comment 11y ago · link · parent
See this issue for more details: https://github.com/Yomguithereal/baobab/pull/74
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 12y ago · link · parent
Perhaps you could create an account with your work email, and one with your personal email? I hope I understood you correctly!
25.
Show HN: DayJot – Another open-source alternative to OhLife(dayjot.com ↗)
29 points · by marbemac · 12y ago · 12 comments
comment 12y ago · link · parent
Discussion on Deis from yesterday: https://news.ycombinator.com/item?id=8591209
27.
Compose.io adds Redis support(blog.compose.io ↗)
12 points · by marbemac · 12y ago · discuss
comment 12y ago · link · parent
For example, I picked Coderwall, which is the 2nd project listed on the discover page. There are 11 tasks right now, with a total coin bounty of about 25k. Looking at the ownership, there are about 14.3 million coins allocated, owned primarily by one guy. SO, if I clear out ALL of the tasks for Coderwall, I will receive coins worth ~0.0017% of the project. If 100% of the stated $30k revenue is distributed to coin holders (which it won't be.. gotta pay for servers, etc), I will receive about $50/month for clearing out all of their tasks.. I understand that revenue might grow, but that's a very small amount nonetheless.
Maybe I'm missing something? Is that about how it works?