Comments (2)
buildHTTP is safe to change, it's not exported and if I understand you correctly that's the approach you prefer?
Lastly, should the runtime call url.PathEscape on each of the pathParams before replacing them in the path or leave that up to the caller?
Yeah the runtime should call the path escape
from runtime.
Yeah, I think twiddling with the path prior to url.Parse
seems like the safe way to go given the idiosyncrasies in the net/url
package regarding paths.
I'll take a look at making this change hopefully soon.
from runtime.
Related Issues (20)
- Authorization token HOT 1
- Swagger Middleware drops trailing slash and can't find path HOT 3
- Give ClientResponseReaderFunc access to the request?
- Add a public BuildHTTP method HOT 1
- debugLog func must use Logger.Debugf
- Upgrade to YAMLv3 HOT 2
- Unable to set a parameter of type file as optional HOT 3
- Long term plans for current OpenTracing implementation? HOT 5
- No consumer for application/pdf in the Runtime class HOT 1
- the value of request.ContentLength remains 0 on HTTP POST with body HOT 1
- API UI middleware oAuth2 callback not working
- Extract middleware with UI to separate repository HOT 1
- How to get the client response? HOT 5
- CSVProducer returns error 'data type must be byte array'
- Client can not upload empty file HOT 1
- Panic on [email protected]/request.go:99 HOT 1
- Support file upload with application/x-www-form-urlencoded
- Incompatible minimum golang version declared in go.mod HOT 1
- Allow for a spec list in SwaggerUIOpts
- How to disable `try it out` option for the swagger-ui HOT 2
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 runtime.