Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.32 KB

SwaggerJsonAPI.md

File metadata and controls

68 lines (41 loc) · 1.32 KB

\SwaggerJsonAPI

All URIs are relative to http://localhost

Method HTTP request Description
GetSwaggerJson Get /api/swagger.json Get Swagger JSON

GetSwaggerJson

GetSwaggerJson(ctx).Execute()

Get Swagger JSON

Example

package main

import (
	"context"
	"fmt"
	"os"
	logto "github.com/mostafa/go-api-client"
)

func main() {

	configuration := logto.NewConfiguration()
	apiClient := logto.NewAPIClient(configuration)
	r, err := apiClient.SwaggerJsonAPI.GetSwaggerJson(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `SwaggerJsonAPI.GetSwaggerJson``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

Other parameters are passed through a pointer to a apiGetSwaggerJsonRequest struct via the builder pattern

Return type

(empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]