We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7496db5 commit b83214eCopy full SHA for b83214e
README.md
@@ -34,6 +34,21 @@ Get path to a service definitions paths:
34
['/usr/local/lib/python3.8/site-packages/alsdkdefs/apis/aerta/aerta.v1.yaml']
35
```
36
37
+Get normalised service spec of a service(all refs resolved,
38
+ path parameters moved to the methods,
39
+ allOfs are merged if possible):
40
+```
41
+>>> import alsdkdefs
42
+>>> alsdkdefs.load_service_spec("aerta")
43
44
+
45
+Validate service spec:
46
47
48
+>>> service_spec = alsdkdefs.load_service_spec("aerta")
49
+>>> alsdkdefs.validate(service_spec)
50
51
52
#### Quick validation of a definition
53
54
While YAML definition is developed apart from the current package and current repo,
0 commit comments