Repository navigation
Comparing changes
Open a pull request
base repository: NpgsqlRest/NpgsqlRest
base: 4.1.0
head repository: NpgsqlRest/NpgsqlRest
compare: master
- 9 commits
- 31 files changed
- 1 contributor
Commits on Dec 2, 2026
-
fix: 4.1.1 - OpenAPI, generated clients and MCP describe what endpoin…
…ts answer with (#36) The generators decided the response from the routine alone and ignored the endpoint's annotations, so their descriptions differed from the responses. - core: RoutineEndpoint.GetResponseKind, one decision for all generators; the cache invalidation endpoint gets the cached endpoint's custom parameters - OpenAPI: single, void (204), text/plain values, bytea, raw, table_format, json as any value, composite arrays, nested, record, SQL files with several statements, cache invalidation, proxy, login - TsClient, DartClient: raw returns text, table_format and bytea return the response, cache invalidation returns { invalidated }, Dart void annotation - MCP: outputSchema and structuredContent agree for a set with one named column, single and the void annotation
Configuration menu - View commit details
-
Copy full SHA for 32d80ba - Browse repository at this point
Copy the full SHA 32d80baView commit details -
fix: money values are JSON strings in responses
A money value in a row, an array or a composite field was written without quotes ($1,234.50), which is not valid JSON. It is a string now, as PostgreSQL writes it (lc_monetary). Parameters still take a number or a decimal string. Generated clients, OpenAPI and MCP type money as a string.
Configuration menu - View commit details
-
Copy full SHA for 6b492b2 - Browse repository at this point
Copy the full SHA 6b492b2View commit details -
fix: raw responses are text/plain by default
A raw endpoint without a content type answered as application/json, although the body is not JSON. Also for a raw routine that returns one array value. The OpenAPI document says the same.
Configuration menu - View commit details
-
Copy full SHA for fd378b2 - Browse repository at this point
Copy the full SHA fd378b2View commit details -
fix: cache invalidation endpoint follows its endpoint's plugin metadata
The invalidation endpoint gets the Items of the cached endpoint, so openapi hide and openapi tags apply to it. MCP does not take it for a second tool.
Configuration menu - View commit details
-
Copy full SHA for 5f3e1f4 - Browse repository at this point
Copy the full SHA 5f3e1f4View commit details -
fix: upload endpoints in OpenAPI and in the generated clients
OpenAPI: an upload endpoint has a multipart/form-data request body. TsClient, DartClient: the response is typed as upload metadata only when the routine returns one json value, otherwise any / dynamic.
Configuration menu - View commit details
-
Copy full SHA for cb01e67 - Browse repository at this point
Copy the full SHA cb01e67View commit details -
fix: OpenAPI documents the 204 response for no value
Endpoints with response_null_handling no_content that return a single value, or single with no row, have a 204 response next to the 200.
Configuration menu - View commit details
-
Copy full SHA for 7d1fb13 - Browse repository at this point
Copy the full SHA 7d1fb13View commit details -
docs: 4.1.1 changelog - changes in responses, summary, contents, know…
…n limits Everything that cannot be described exactly by the generators is listed under Known limits.
Configuration menu - View commit details
-
Copy full SHA for 281e54b - Browse repository at this point
Copy the full SHA 281e54bView commit details -
chore: upgrade package references
Serilog.Sinks.OpenTelemetry 4.3.0, Microsoft.Extensions.Caching.Hybrid 11.0.1 (10.11.1 on .NET 10), JwtBearer and StackExchangeRedis 10.0.15 on .NET 10; in tests WireMock.Net 2.35.0 and Mvc.Testing 10.0.15 on .NET 10.
Configuration menu - View commit details
-
Copy full SHA for c1b22be - Browse repository at this point
Copy the full SHA c1b22beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18a49eb - Browse repository at this point
Copy the full SHA 18a49ebView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4.1.0...master