// GetSubjects returns a list of the available subjects(schemas).
GetSubjects returns a list of the available subjects(schemas).
// GetSubjects returns a list of the available subjects ( schemas ) .
func (c *Client) GetSubjects() (subjects []string, err error) {
	resp, respErr := c.Do(http.MethodGet, subjectsPath, "", nil, schemaAPIOption)
	if respErr != nil {
		err = respErr
		return
	}
	err = c.ReadJSON(resp, &subjects)
	return
}
func ( c * Client ) GetSubjects ( ) ( subjects [ ] string , err error ) { resp , respErr := c . Do ( http . MethodGet , subjectsPath , " " , nil , schemaAPIOption ) if respErr != nil { err = respErr return } err = c . ReadJSON ( resp , & subjects ) return }
GetSubjects returns a list of the available subjects(schemas).
GetSubjects returns a list of the available subjects ( schemas ) .
// # List all available subjects // GET /api/proxy-sr/subjects