Comments (2)
From the openapi spec
Mapping keys MUST be string values, but tooling MAY convert response values to strings for comparison.
So, I guess we could allow more key types so long as they can be serialized to a string. Would need someone else to implement this though, I won't have time in the near term to add that.
And in the meantime, it should be pretty easy to just have the response type be Map<String, SensorThreshold>
and serialize to a string yourself.
from kompendium.
Related Issues (20)
- Support Protobuf generated objects HOT 15
- Parameter examples missing descriptions HOT 4
- Serialization fails for response example HOT 5
- KSP Generator Implementation HOT 1
- Mark field as deprecated HOT 4
- Field description HOT 5
- V3 forced all RequestInfo not null HOT 6
- Dependency of kompendium-core on logback HOT 1
- Provide access to `security` in PathOperation HOT 5
- Reintroduce Swagger UI module HOT 3
- Data classes with members outside the primary constructor break schema generation
- Showcase projects using Kompendium HOT 1
- Add support for Response Headers HOT 1
- notarized routes are not discarded after every test HOT 10
- Build Kompendium-core 3.14.1 using Java 11 HOT 8
- Allow users to provide a custom serializer explicitly for Kompendium HOT 9
- Add the possibility to set a custom `Serializer` HOT 2
- UnknownSchemaException in inherited variable HOT 2
- Overridden properties not part of the constructor causing UnknownSchemaException HOT 3
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 kompendium.