Comments (5)
@steve-chavez For the Info Object it's mostly to get the same result as the core repo. But it may be also needed to generate the documentarion URL (although this one needs a simplified version).
Edit: Btw I mistakenly said "PostgreSQL" version instead of "PostgREST" version.
from postgrest-openapi.
Hm, what's the need for the version?
from postgrest-openapi.
Got it. So I guess the same problem exists for the server_proxy_uri
too:
postgrest-openapi/sql/main.sql
Lines 3 to 6 in 106e51c
While the schemas
can be obtained from our tx-settings
.
Maybe we need a concept of session-scoped settings on PostgREST to make this work. So each config option (coming from file or env var) gets a set_config($,$, false)
thus is always available. Unlike tx-settings this wouldn't have a perf cost impact.
from postgrest-openapi.
What are tx-settings? I'm assuming it means transaction settings? Is this set_config within a transaction or something?
from postgrest-openapi.
I'm assuming it means transaction settings? Is this set_config within a transaction or something?
@wayland Yes, basically set_config(.., .., true)
. We use them like mentioned on PostgREST/postgrest#3019
from postgrest-openapi.
Related Issues (16)
- Add nix environment for testing purposes HOT 1
- Detect missing properties for array types inside the items property
- Add summary to the info object HOT 4
- Only support OpenAPI 3.1 HOT 1
- Support as TLE
- Missing instruction for integrating into PostgREST HOT 9
- Add an initial implementation of the Schema field of the Components Object
- My version HOT 3
- Add CI using GitHub actions HOT 2
- Repeated "Prefer" header overrides the previous one in SwaggerUI HOT 3
- Use a extension property to define PostgreSQL formats
- Verify if the nullable columns that have a default value are "required" HOT 2
- Verify how to parse some special default values for arrays, timezones, etc.
- Detect Primary Keys and Foreign Keys for Component Objects
- Add "items" property to "array" types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgrest-openapi.