Comments (2)
I'm not sure we can add it as an amendment to the 1.2 spec as it may break
3rd party tools.
On Wed, May 7, 2014 at 1:41 AM, Tony Tam [email protected] wrote:
It seems like the requirement for absolute base path for apis is very
difficult for folks. I propose we still support it, but allow the spec &
tooling to support relative paths.The rule would be as follows:
if url starts with "http" it will be considered absolute. Otherwise, the
scheme, host, and protocol will be derived from the location of the Api
Declaration which is being served.Since this is incremental, and still supports the absolute path that the
spec requires, I believe it can be amended to the 1.2 spec w/o a revision.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/52
.
from openapi-specification.
In Swagger 2.0, the basePath was split into 3 parts - scheme, host and basePath (this one being the path only). If either scheme or host are not specified, it is assumed that the scheme and host used to serve the specification are the ones used for the API calls as well.
from openapi-specification.
Related Issues (20)
- Synchronize 3.0.4, 3.1.1, and 3.2.0 HOT 10
- Data Type Primative of boolean missing from v3.1.0 only HOT 1
- respec runs failing HOT 1
- Open Community (TDC) Meeting, Thursday 21 March 2024 HOT 4
- Hi
- Open Community (TDC) Meeting, Thursday 28 March 2024 HOT 6
- Define and document branch strategy for the spec, both development and publishing HOT 6
- Spec links to https://path.id HOT 3
- Update Style Values and Style Examples for consistency HOT 8
- Openapi HOT 1
- Open Community (TDC) Meeting, Thursday 04 April 2024 HOT 5
- $ref ignores any sibling associated with it HOT 1
- format request: support for strings which can be recognized as valid IPv4 or IPv6 addresses with a CIDR mask or netmask HOT 4
- ReSpec HTML generation needs to use correct revision of MAINTAINERS.md HOT 1
- Open Community (TDC) Meeting, Thursday 11 April 2024 HOT 7
- Reference schema property within a response HOT 2
- Open Community (TDC) Meeting, Thursday 18 April 2024 HOT 5
- Format Registry documentation is not accurate / well published HOT 2
- Schema issues in documentation examples HOT 4
- Add tokenExchange grant type to list of allowed grant types for oauth2 shape
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 openapi-specification.