func TestEnumerateOpenApiTestcases(t *testing.T) {
	doc, err := loadOpenAPI(false)
	require.NoError(t, err)
	base := "https://myaspsp.resourceserver:443/"

	for path, props := range doc.Spec().Paths.Paths {
		for meth := range getOperations(&props) {
			newPath := base + path
			assert.NotNil(t, meth)
			assert.NotNil(t, newPath)
		}
	}
}
// Enumerates all OpenAPI calls from swagger file
Enumerates all OpenAPI calls from swagger file
// Enumerates all OpenAPI calls from swagger file
func TestEnumerateOpenApiTestcases(t *testing.T) {
	doc, err := loadOpenAPI(false)
	require.NoError(t, err)
	base := "https://myaspsp.resourceserver:443/"
	for path, props := range doc.Spec().Paths.Paths {
		for meth := range getOperations(&props) {
			newPath := base + path
			assert.NotNil(t, meth)
			assert.NotNil(t, newPath)
		}
	}
}
func TestEnumerateOpenApiTestcases ( t * testing . T ) { doc , err := loadOpenAPI ( false ) require . NoError ( t , err ) base := " " for path , props := range doc . Spec ( ) . Paths . Paths { for meth := range getOperations ( & props ) { newPath := base + path assert . NotNil ( t , meth ) assert . NotNil ( t , newPath ) } } }
Enumerates all OpenAPI calls from swagger file
Enumerates all OpenAPI calls from swagger file