Comments (1)
Same here. Instead I use WriteAsync
and Stream. Works...
//await response.WriteAsJsonAsync(responseDTO); <-- dont work
var serialized = JsonConvert.SerializeObject(responseDTO);
var ms = new MemoryStream(Encoding.UTF8.GetBytes(serialized));
await response.Body.WriteAsync(ms.ToArray());
from azure-functions-openapi-extension.
Related Issues (20)
- Support Specification Extensions HOT 1
- Setting the base url in isolated worker azure function HOT 2
- Add more options to control exposed Swagger endpoints HOT 1
- .NET framework Isolated - The system cannot find the file specified.
- No way to add example to a parameter definition using attributes - OpenApiParameterAttribute does not support all properties of Microsoft.OpenApi.Models OpenApiParameter
- Easy Auth enabled on Azure portal for function app not allowed to exposed Swagger endpoints
- Future of this project? HOT 6
- Adding custom attribute to the openAPI endpoints possible?
- Documentation: Update .ConfigureFunctionsWorkerDefaults(...) to be .ConfigureFunctionsWebApplication(...)
- Generate OpenApi swagger at build time. HOT 1
- Swagger Serializer Settings
- Validation, is it even working ?
- ObjectTypeVisitor - cast to OpenApiSchemaAcceptor instead of IOpenApiSchemaAcceptor HOT 1
- Ignore certain enum values
- Visitors - no shortcut for recursive references causing stack overflow
- Incorrect schema generated for PATCH requests when using Microsoft.AspNetCore.JsonPatch library
- Exception thrown trying to render any endpoint from the OpenAPI endpoints HOT 4
- Feature Request: Adding `displayOperationId` to Swagger UI
- Error when rendering the Swagger UI when API includes a class that has multiple objects(16)
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 azure-functions-openapi-extension.