Optic
prism
Optic | prism | |
---|---|---|
12 | 25 | |
1,285 | 4,017 | |
1.2% | 1.5% | |
9.8 | 8.3 | |
4 days ago | 6 days ago | |
TypeScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Optic
-
Show HN: LintGPT – Write API Style Guides in Natural Language
- Minimizing API calls. The first time you run LintGPT it is pretty slow because it has to run every rule across every part of the API specification (1000s of calls). But we shouldn’t have to repeat that work. Most of the time parameters, properties, etc don’t change and neither do the rules. We’re building caching into our web app to make this fast / save $ for end users.
Happy to answer any questions. I really think there’s a huge use case here for linting all kinds of code, config, database schemas, policies in ways that were never possible before. And personally, I like the idea of having these smart tools guiding me towards making my work better vs generating it all for me — idk something about that just feels good.
[0] https://github.com/opticdev/optic
- Show HN: Generate OpenAPI from Your Tests
-
Testing for Breaking Changes in Fastify APIs
Recently I was approached by a team that needed help testing their Fastify API for breaking changes. Fastify was making it easy to quickly ship a lot of new functionality, but breaking changes were making it through Code Reviews. They were not finding out the changes were breaking until a consumer emailed them — not good. The developer who reached out saw my work on the Optic project and asked for help.
- Get notified when the APIs you depend on change.
-
What is OpenAPI?
Optic
-
"Git for APIs"?
I'm really happy to say I've started a new job at Optic, and with this comes the learning process of getting more depth with new technology and its use cases.
-
How do you usually get API documentation for your apps?
I’ve been working on this open source project https://github.com/opticdev/optic
-
Why Your Company's Documentation Sucks
Our documentation sucks because it is time-consuming to do documentation properly.
I am hoping to fix this by introducing Optic [0] to automatically handle generating API diffs.
[0]: https://github.com/opticdev/optic
-
Paw is joining Rapid API
I've recently been using Optic (https://useoptic.com/) which does some cool things in the API tools space, there's potential there to have a CLI UI and they have the history part already but similar to what people are saying here about the web UIs, I don't like theirs much.
-
Rust made my open source project 1000x faster
I'm assuming it is the url mentioned for the language chart: https://github.com/opticdev/optic
prism
-
How to Automatically Consume RESTful APIs in Your Frontend
Since the OpenAPI can effectively describe our resources, we can reuse it to generate a dummy server that can be later used for development and testing purposes without bootstrapping any actual services. There some tools available that can help us with this task, such as Prism, OpenAPI Mock, OpenAPI Backend and the MSW library we have already seen.
- The most effective Schema-Driven Development using OpenAPI for Logistic Engineer
-
Show HN: Generate JSON mock data for testing/initial app development
I use https://stoplight.io/open-source/prism with x-faker properties in my OpenAPI specs to mock APIs with dynamic content.
-
Please recommend a good API Mocking tool
Haven't tried it yet, but discovered https://microcks.io/ yesterday. Otherwise https://stoplight.io/open-source/prism is pretty good
-
Prism: a useful developer tool for OpenAPI specs
Prism does more than mocking; You can also use it to inspect any discrepancies between your API implementation and the API spec. You can find out more on their GitHub page:https://github.com/stoplightio/prism
-
How do people deal with mocking CRUD operations for the purposes of testing?
use a mock API server that can read openapi spec (e.g. Prism)
-
Faster time-to-market with API-first
prism
-
install db locally or go with docker image for development?
What about skipping the DB all together and using OpenAPI w/ a Mock Server for local development https://openapi.tools/#mock personally like https://stoplight.io/open-source/prism
- Resurse utile pentru crearea unui REST API?
-
Mock REST APIs with just OpenAPI YAML/JSON
Pretty simple to run [prism](https://github.com/stoplightio/prism) locally for free.
What are some alternatives?
Swagger Client - Javascript library to connect to swagger-enabled APIs via browser or nodejs
swagger-ui - Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
FarFetch - Modern Fetch API wrapper for simplicity.
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
Rails Ranger - 🤠 An opinionated AJAX client for Ruby on Rails APIs
dredd - Language-agnostic HTTP API Testing Tool
apitest - Apitest is declarative api testing tool with JSON-like DSL.
backstage - Backstage is an open platform for building developer portals
jquery.rest - A jQuery plugin for easy consumption of RESTful APIs
cli - Mockoon's official CLI. Deploy your mock APIs anywhere.
wretch - A tiny wrapper built around fetch with an intuitive syntax. :candy:
redoc - 📘 OpenAPI/Swagger-generated API Reference Documentation