OpenAPI specification for Beckn Network Observability #490
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.
Add OpenAPI specification for Beckn Network Observability
Summary
This pull request introduces the complete OpenAPI 3.1.0 definition for the Beckn Network Observability APIs, allowing any client to push and validate transaction logs against a formal schema.
Details
api/network-observability/containing all spec artifactscomponents/io/Observe.yaml– defines the POST/observerequest payload (context + log entry)components/io/Response.yaml– defines the standard acknowledgement/error responsecomponents/schema/LogEntry.yaml– schema for each observability log entry (type + data)components/schema/TransactionType.yaml– enum of all supported transaction types (e.g.init,on_search,confirm, etc.)components/index.yaml– unresolved spec assembling all IO and schema componentsbuild/network-observability.yaml– bundled, compiled OpenAPI file (generated viaswagger-cli bundle)README.md– instructions for editing components and regenerating the build artifactImpact
Migration / Build Steps
components/.swagger-clito regenerate the bundled spec: