Documentation ¶
Index ¶
Constants ¶
View Source
const ( OutputModeAzureFunctions astra.OutputMode = "azureFunctions" // Azure Functions HTTP Trigger Bindings. OutputModeJSON astra.OutputMode = "json" // JSON file - primarily used for debugging. OutputModeOpenAPI astra.OutputMode = "openapi" // OpenAPI 3.0 file. )
Variables ¶
This section is empty.
Functions ¶
func WithAzureFunctionsOutput ¶
WithAzureFunctionsOutput adds Azure Functions HTTP Trigger Bindings as an output to the service.
func WithJSONOutput ¶
WithJSONOutput adds JSON as an output to the service. It will generate a JSON file with the routes and components. It should also contain the configuration for the file path to store in the cache for CLI usage.
func WithOpenAPIOutput ¶
WithOpenAPIOutput adds an OpenAPI specification as an output to the service. It will generate a JSON/YAML file (based on file path [default JSON]) with the routes and components. It should also contain the configuration for the file path to store in the cache for CLI usage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.