You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte_cdk/manifest_server/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,18 @@ The generated OpenAPI specification is consumed by other applications and tools
125
125
- Provide API documentation and validation
126
126
- Enable integration with API development tools
127
127
128
+
### Automated OpenAPI Spec Validation
129
+
130
+
The project includes a GitHub Actions check that automatically verifies the OpenAPI spec is up-to-date whenever API models are modified. This prevents developers from forgetting to regenerate the spec after making changes to request/response types.
131
+
132
+
If you modify any files in `airbyte_cdk/manifest_server/api_models/`, make sure to run:
133
+
134
+
```bash
135
+
poetry run manifest-server generate-openapi
136
+
```
137
+
138
+
The CI will fail if the committed OpenAPI spec doesn't match what would be generated from the current API models.
139
+
128
140
### Interactive API Documentation
129
141
130
142
When running, interactive API documentation is available at:
0 commit comments