Repository navigation
csapi-mqtt: AsyncAPI service description - #263
Merged
Merged
Conversation
This was referenced Nov 5, 2026
This was referenced Nov 6, 2026
Base automatically changed from
feature/cs-api-mqtt/250-topic-scheme
to
master
November 11, 2026 23:57
alexrobin
self-requested a review
November 11, 2026 23:57
alexrobin
approved these changes
Nov 11, 2026
Member
|
@tipatterson-dev Can you resolve these merge conflicts? |
Member
Author
|
@alexrobin yes, I'll fix it. I thought I had them all sorted to be clean. I'll fix what I missed on this one. |
Member
Author
|
I think that each PR will end up with conflicts because of the squash commit. I have a few options. I can fix them one at a time, we can use a merge commit for the stack each time, or I can re-target this all into a branch where the PRs can be reviewed as is and there is a merge commit each time then we can merge that into master and squash it. |
tipatterson-dev
force-pushed
the
feature/cs-api-mqtt/256-asyncapi-service-desc
branch
from
November 12, 2026 02:02
e49d989 to
fdae3eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Serves an AsyncAPI 3.0 description of the MQTT binding, as CS API Part 3 and OGC API Pub/Sub discovery ask.
Closes #256. Part of #249.
Stacked on #261 (base
feature/cs-api-mqtt/250-topic-scheme). Merge #261 first; this PR then moves tomaster.Changes
AsyncApiHandlerat{apiRoot}/asyncapi/mqtt, one document per binding.f=yamlorapplication/asyncapi+yamlgives YAML. Other clients get YAML by default.f=html, gets an HTML page. It loads the AsyncAPI viewer from a CDN and shows the YAML text if the viewer cannot load (5 s timeout, load error, or no viewer URL).asyncapi-mqtt.yaml) filled per request: nodeId, API root, module version, servers, and the format names of the node.brokerAddress(default: the HTTP host and port 1883, the port of the bundled HiveMQ config)webSocketAddress(optional;ws://orwss://, with a path)asyncApiViewerUrl(default@asyncapi/react-component3.2.2 on unpkg; empty means YAML text only)Known limits
/asyncapicontainer andservice-desclinks)./staticCSS asapplication/json, which browsers accept only in quirks mode.Testing
TestAsyncApiHandler: rendering, TCP and WebSocket servers, live config changes, HTML page and escaping, format selection.Stack