A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Add primitive type for an arbitrary object. This is a good utility type for APIs that offer arbitrary data/metadata to be passed to an endpoint. For example, the operationScopes in APS.
OpenAPI implements this as a type: object and additionalProperties: true.
It's a primitive data type so that I didn't have to implement a stringmap<any> type in pegJS + typescript. It's not a great reason, but the solution works and is much less involved. This data type will never have anything added to it (by definition) and works fine as a primitive.
Add primitive type for an arbitrary object. This is a good utility type for APIs that offer arbitrary data/metadata to be passed to an endpoint. For example, the
operationScopes
in APS.OpenAPI implements this as a
type: object
andadditionalProperties: true
.It's a primitive data type so that I didn't have to implement a
stringmap<any>
type in pegJS + typescript. It's not a great reason, but the solution works and is much less involved. This data type will never have anything added to it (by definition) and works fine as a primitive.