awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Moya avatar

Moya/Moya

0
View on GitHub↗
15,364 Stars·2,004 Forks·Swift·MIT·4 Aufrufemoya.github.io↗

Moya

Moya is a network abstraction layer for Swift that provides a structured framework for defining and executing REST API requests. It functions as a type-safe API client that decouples network endpoint definitions from the underlying implementation details to prevent configuration errors and URL typos.

The project distinguishes itself by using protocol-based endpoint definitions and a provider-coordinated execution model. It includes a system for mapping network responses to strongly typed objects and features a dedicated tool for generating type-safe network interface files from external REST documentation.

The framework covers a broad set of capabilities including reactive network programming via wrappers for asynchronous streams, response mapping with HTTP status code filtering, and comprehensive testing utilities for network request stubbing and API mocking.

The library is implemented in Swift.

Features

  • RESTful API Clients - Provides a type-safe framework for interacting with RESTful web services using a provider-coordinated model.
  • Type-Safe API Clients - Provides a type-safe layer for defining API endpoints to prevent URL typos and enforce parameter correctness via the compiler.
  • Response Decoders - Converts raw network response data into usable formats using custom decoding logic for specific data types.
  • REST APIs - Provides a structured framework for defining and executing requests to RESTful services.
  • Request Execution - Dispatches network requests to defined endpoints and processes results via completion handlers or streams.
  • Provider Coordinators - Uses a provider coordinator to manage the entire lifecycle of a network request.
  • HTTP Abstraction Layers - Encapsulates low-level network objects to provide a high-level, type-safe API for request and response handling.
  • API Response Simulators - Redirects network calls to a local data store to provide predefined stubbed responses for development and testing.
  • Network Layer Architectures - Implements a protocol-based abstraction layer that decouples endpoint definitions from network implementation details.
  • Protocol-Based API Definitions - Defines network requests as types conforming to a specific protocol to ensure consistent request configurations.
  • API Request Mocking - Simulates server responses for testing by intercepting requests and returning pre-defined mock data.
  • Type-Safe - Maps strongly typed Swift enums and structs to URL components and request bodies to prevent runtime errors.
  • Response Serialization - Maps raw network response data into strongly typed Swift objects using integrated serialization.
  • Type-Safe API Frameworks - Transforms raw network bytes into strongly typed JSON objects or images using integrated serialization.
  • Type-Safe API Integrations - Ensures type safety across network boundaries by mapping responses to strongly typed Swift objects.
  • Testing and Mocking - Includes comprehensive utilities for stubbing network responses and mocking API behavior for testing.
  • Validation Filters - Filters network responses by validating that they match specific HTTP status codes before proceeding to decoding.
  • HTTP Response Processors - Transforms raw response data into images, JSON, or strings while filtering for successful status codes.
  • Reactive Stream Architectures - Wraps asynchronous network calls in observables or publishers to handle responses and progress reactively.
  • API Mocking - Simulates server responses with stubbed data to test network integration without live backend requests.
  • API Testing - Includes integrated unit testing tools to validate the behavior of API requests and responses.
  • Interceptor Chains - Processes network responses through a chain of operators to validate status codes before passing data to decoders.
  • Reactive Networking - Provides wrappers for API requests using observables or signal producers to handle responses through reactive streams.
  • Networking Frameworks - Provides a network abstraction layer for API services.
  • Networking - Network abstraction layer for Swift.

Star-Verlauf

Star-Verlauf für moya/moyaStar-Verlauf für moya/moya

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Moya

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Moya.
  • alamofire/alamofireAvatar von Alamofire

    Alamofire/Alamofire

    42,385Auf GitHub ansehen↗

    Alamofire is an HTTP networking library that provides a foundation for managing network requests and responses through a chainable, type-safe interface. It serves as an asynchronous request manager, coordinating concurrent network operations and data streams while maintaining application responsiveness. The library distinguishes itself through a protocol-oriented request adaptation system, which utilizes interceptors to modify or authenticate requests before dispatch. It employs a middleware-driven pipeline to process traffic, handling encoding, authentication, and error recovery in a modular

    Swiftalamofirecarthagecertificate-pinning
    Auf GitHub ansehen↗42,385
  • reactiveui/refitAvatar von reactiveui

    reactiveui/refit

    9,513Auf GitHub ansehen↗

    Refit is a type-safe REST client for .NET that transforms API definitions into live interfaces. It functions as an automatic API proxy generator, allowing developers to define endpoints as interfaces to eliminate manual HTTP request boilerplate. The library is designed for compatibility with ahead-of-time compilation and trimmed binaries, utilizing build-time source generation to ensure support for native AoT deployments. The project covers a broad range of API integration capabilities, including attribute-driven request composition, automatic JSON deserialization, and request header managem

    C#c-sharpdotnetdotnet-core
    Auf GitHub ansehen↗9,513
  • elysiajs/elysiaAvatar von elysiajs

    elysiajs/elysia

    18,531Auf GitHub ansehen↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    TypeScriptbunframeworkhttp
    Auf GitHub ansehen↗18,531
  • encode/httpxAvatar von encode

    encode/httpx

    15,090Auf GitHub ansehen↗

    This project is a comprehensive Python network request framework designed for both synchronous and asynchronous HTTP communication. It provides a high-performance client capable of executing non-blocking requests within event-driven applications, while also supporting standard blocking calls for simpler scripts. The library is built to operate natively across diverse asynchronous runtimes, automatically detecting and utilizing the underlying event loop for concurrency. What distinguishes this library is its modular architecture, which decouples request construction from network execution thro

    Pythonasynciohttppython
    Auf GitHub ansehen↗15,090
Alle 30 Alternativen zu Moya anzeigen→

Häufig gestellte Fragen

Was macht moya/moya?

Moya is a network abstraction layer for Swift that provides a structured framework for defining and executing REST API requests. It functions as a type-safe API client that decouples network endpoint definitions from the underlying implementation details to prevent configuration errors and URL typos.

Was sind die Hauptfunktionen von moya/moya?

Die Hauptfunktionen von moya/moya sind: RESTful API Clients, Type-Safe API Clients, Response Decoders, REST APIs, Request Execution, Provider Coordinators, HTTP Abstraction Layers, API Response Simulators.

Welche Open-Source-Alternativen gibt es zu moya/moya?

Open-Source-Alternativen zu moya/moya sind unter anderem: alamofire/alamofire — Alamofire is an HTTP networking library that provides a foundation for managing network requests and responses through… reactiveui/refit — Refit is a type-safe REST client for .NET that transforms API definitions into live interfaces. It functions as an… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a… encode/httpx — This project is a comprehensive Python network request framework designed for both synchronous and asynchronous HTTP… intuit/karate — Karate is an end-to-end testing framework and API test automation tool used to validate REST and SOAP APIs, drive… encoredev/encore — Encore is a distributed systems framework designed to unify backend development, infrastructure provisioning, and…