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
|`source_specs/`| Original OpenAPI specification files provided as input to the transformation process. These are the source of truth for our API definitions. |
12
-
|`generated_specs/`| Transformed OpenAPI specs with server URL subpaths moved to individual API paths. These files are consumed by Speakeasy to generate client libraries. |
13
-
|`overlayed_specs/`| Specs with various overlays applied (see Overlays section below). The overlays add additional metadata or modifications needed for specific purposes. |
14
-
|`merged_code_samples_specs/`| Specs with code samples merged from multiple sources. These enhanced specs provide examples for documentation and developer usage. |
15
-
|`final_specs/`| Final, fully proccessed OpenAPI specifications that combine code samples from multiple sources that have been post-processed for correctness. These files are consumed by the gh-pages site and ultimately make their way to developers.glean.com. |
|`source_specs/`| Original OpenAPI specification files provided as input to the transformation process. These are the source of truth for our API definitions. |
12
+
|`generated_specs/`| Transformed OpenAPI specs with server URL subpaths moved to individual API paths. These files are consumed by Speakeasy to generate client libraries. |
13
+
|`overlayed_specs/`| Specs with various overlays applied (see Overlays section below). The overlays add additional metadata or modifications needed for specific purposes. |
14
+
|`merged_code_samples_specs/`| Specs with code samples merged from multiple sources. These enhanced specs provide examples for documentation and developer usage. |
15
+
|`modified_code_samples_specs/`| Specs with code samples post processed (correcting issues with the generated code samples). |
16
+
|`final_specs/`| Final, fully proccessed OpenAPI specifications that combine code samples from multiple sources that have been post-processed for correctness. These files are consumed by the gh-pages site and ultimately make their way to developers.glean.com. |
16
17
17
18
## Overlays
18
19
@@ -47,6 +48,10 @@ The `overlayed_specs` directory contains merged OpenAPI specifications that comb
47
48
48
49
These merged specs are used for generating consistent client libraries across multiple APIs and provide a single source of documentation.
49
50
51
+
## Modified Code Samples Specs
52
+
53
+
This takes the specs from `merged_code_samples_specs` and runs `pnpm transform:merged_code_samples_specs` to correct issues with the generated code samples. This is done in the `.github/workflows/generate-code-samples.yml` GHA workflow.
54
+
50
55
## Final Specs
51
56
52
57
The `final_specs` directory contains the end product of all of the processing being done. These specs are copied into the published GitHub Pages site (in the `docs/specs/final` directory), and then used by [gleanwork/glean-developer-site](https://github.com/gleanwork/glean-developer-site).
0 commit comments