hello roy.
On 2017-06-16 14:35, Roy Jacobs wrote:
> For REST APIs we expose Swagger UI pages for every microservice, but
> this doesn't cover things like messaging APIs. Also, we see that there
> is a lot of overlap in certain domains (e.g. addresses) and different
> services don't always share the same schemas and end up diverging.
i am not completely sure i fully understand what you mean by schema. but
maybe what you mean is some sort of vocabulary?
http://webconcepts.info/ is meant to document shared concepts. much more
than just schemas, but at least to some extent media types are schemas,
too. right now, this is tracking the constantly evolving web standards
landscape. i have summer plans for it, and maybe these are interesting
for you:
1. one idea is to extend the repo/site so that people can fork it and
add information about which of their APIs uses which concept value. for
example, then it would be simple to find out which APIs in some API
ecosystem are using a particular media type.
(this might get a bit noisy when it comes to documenting which API uses
the HTTP GET method, so finding a good balance here is important.)
2. people should be able to use their own concepts. for example, if you
use many DTDs or XSDs, then it should be possible to add new concepts
("DTD" or "XML Namespace") and register new values (DTD identifiers or
XML namespaces).
currently, web concepts is a bit extensible by adding a new concept to
https://github.com/dret/webconcepts/blob/gh-pages/concepts.xml and
starting to add new specs to
https://github.com/dret/webconcepts/tree/gh-pages/src/specs that define
concept values. this needs to be documented at the very least and
probably simplified. and it needs to move from defining values in a spec
to using them in an API (see #1).
i am not quite sure if this is of any interest to you, and it's not
really something to can use right now. but it's something where i think
more and more companies will want a solution that is agnostic to
specific API technologies, and can be extended as the API landscape evolves.
cheers,
dret.
--
erik wilde | mailto:
erik....@dret.net |
|
http://dret.net/netdret |
|
http://twitter.com/dret |