Update comment

This commit is contained in:
Brett Jephson
2024-10-02 17:32:55 +01:00
parent 3ee149d87d
commit 152aad2c8f
@@ -11,7 +11,9 @@ import { useOpenAPIClientState } from './OpenAPIClientStateContext';
import { parseServerURL } from './utils';
/**
* Show the url of the server with variables replaced by their default values.
* Show the url of the server, where there are variables they are replaced by their default values.
* If a stateContext is provided with an `onUpdate` callback then the variables can be edited and
* if there are multiple servers available they can be selected.
*/
export function OpenAPIServerURL(props: {
servers: OpenAPIV3.ServerObject[];