Repository navigation
Added translations for faroese #Hacktober - #234
Merged
Merged
Conversation
Member
|
THANK YOU! All changes merged 🥳 |
loks0n
added a commit
that referenced
this pull request
Sep 23, 2026
* docs: add OpenAPI library plan * feat: implement OpenAPI parser * docs: add domain language context * build: add Rector and require PHP 8.5 * ci: add test and code quality workflows * fix: preserve omitted additional properties (#1) * fix: capture extensions on the discriminator (#2) CONTEXT.md states that an extension is "captured on every model that can carry one". Discriminator was the exception: the reader built it from propertyName and mapping and dropped every x- key alongside them, so an extension nested inside a discriminator was unreachable from the parsed Specification. This matters because the standard mapping is single-valued — it maps one property value to one schema. A union whose members are told apart by a combination of properties cannot be expressed with it. Appwrite's spec carries the full rule set in `x-mapping`: "discriminator": { "propertyName": "type", "mapping": { "string": ".../attributeString" }, "x-mapping": { ".../attributeEmail": { "type": "string", "format": "email" }, ".../attributeString": { "type": "string" } } } Five of its attribute models share `type: "string"` and differ only by `format`, so `mapping` can name just one of them and consumers reading only `mapping` silently collapse the other four into it. The reader already has Value::extensions(); this passes its result to the constructor. Nothing here interprets the extension — it is captured and handed to the consumer, which is the contract every other model follows. * refactor: flatten the schema namespace Every schema class sat under Model\Schema, which stuttered on the base class and repeated itself on the kinds: Utopia\OpenAPI\Model\Schema\Schema Utopia\OpenAPI\Model\Schema\ArraySchema Utopia\OpenAPI\Model\Schema\ObjectSchema The segment carried no information the class names did not already carry, and a consumer importing a base type and two kinds read Schema three times per line. The classes move up beside the models they are part of, so the base is Model\Schema and a kind is Model\ArraySchema. Dropping the suffix instead is not possible. Array, Object, String and Never are reserved and cannot name a class in PHP, so Model\Schema\Array and its neighbours cannot exist, and dropping the suffix only where the language allows would leave Schema\Integer beside Schema\ArraySchema. Removing the namespace segment keeps every kind named consistently while taking the redundancy out of the path. Model is a flat namespace of value objects, so schemas sit naturally next to Parameter, Response and MediaType rather than one level below them. No behaviour changes: the classes, their properties and their relationships are untouched. * fix: stop interpreting x-nullable * feat: expose open string enum branches An anyOf can combine a string enum with an enum-free string branch to document common values without closing the accepted set. Consumers currently have to repeat that structural interpretation themselves.\n\nExpose the enum-bearing branch from CompositeSchema when the union has exactly that shape. Keep oneOf, mixed-type unions, and unions with multiple enums unchanged. * feat: expose string enum metadata * fix: validate enum key values * fix: validate open enum metadata * fix: allow derived enum keys * (feat): map OAS 3.1 annotated enumerations onto StringSchema * (docs): describe enum names using schema titles only * feat: resolve local schema references * refactor schema reference resolution * address greptile review feedback (greploop iteration 1) * address greptile review feedback (greploop iteration 2) * feat: expose accepted and required security scheme names * fix: normalize security scheme names and consolidate tests * Merge pull request #234 from utopia-php/absorb/openapi chore(openapi): absorb library into monorepo * Merge pull request #237 from utopia-php/clo-4377-compound-schemas feat(openapi): expose conditional model references * chore(openapi): mirror plumbing Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor: load openapi from packages/ Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Chirag Aggarwal <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
pull Bot
referenced
this pull request
in AmirulAndalib/appwrite
Sep 28, 2026
* Skip action if response already sent by init hook If an init hook (e.g. cache) calls $response->send(), the action should not run — the response has already been delivered to the client. Without this guard the action executes in full, wasting worker time on work whose output is immediately discarded. Shutdown hooks still run so metrics, billing, and other teardown logic are unaffected. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * Fix: pass Response to execute() so isSent() guard is in scope The 0.34.x execute() method had dropped the Response parameter compared to 0.33.x, meaning $response->isSent() in the action guard would be an undefined variable. Restore the parameter and update all call sites in the test suite. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
imtia33
pushed a commit
to imtia33/appwrite
that referenced
this pull request
Oct 15, 2026
…uts-3x fix: time out stalled source and destination requests (3.x)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.