Add YAML export from APISpec
This commit is contained in:
parent
5279becce7
commit
8157fa6d58
4 changed files with 29 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ labthing.add_view(
|
|||
views.NestedConfigurationProperty, "/instrument/configuration/<path:route>"
|
||||
)
|
||||
labthing.add_root_link(views.ConfigurationProperty, "instrumentConfiguration")
|
||||
labthing.add_view(views.APISpecJSONView, "/docs/swagger.json")
|
||||
labthing.add_view(views.APISpecYAMLView, "/docs/swagger.yaml")
|
||||
|
||||
# Attach stage resources
|
||||
labthing.add_view(views.StageTypeProperty, "/instrument/stage/type")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue